aquasecurity / kube-hunter

Hunt for security weaknesses in Kubernetes clusters
Apache License 2.0
4.75k stars 585 forks source link

Decouple config and argument parsing #342

Closed iyehuda closed 4 years ago

iyehuda commented 4 years ago

Description

Enable using config without triggering argparse. Add linting with mypy in order to catch more kinds of bugs (especially usage of not existing properties).

Contribution Guidelines

Please Read through the Contribution Guidelines.

Fixed Issues

Resolves #341

"BEFORE" and "AFTER" output

To verify that the change works as desired, please include an output of terminal before and after the changes under headings "BEFORE" and "AFTER".

Contribution checklist

Notes

Please mention if you have not checked any of the above boxes.