mirror of
https://github.com/aquasecurity/kube-hunter.git
synced 2026-05-06 17:28:30 +00:00
* Remove __main__ references and create a top-level config module * Move conf module into separate standalone package * Deprecate install_imports.py script * Rename root package to kube_hunter The previous src root package name was too generic and not unique, so it can be used as external name. Change `src` to `kube_hunter` so it can be referenced in a clear way. Addtional changes made on the way: * Make imports absolute * Formatting Relates to #185 * remove todos Co-authored-by: Ryan Lahfa <masterancpp@gmail.com> Co-authored-by: Itay Shakury <itay@itaysk.com>
13 lines
149 B
Python
Executable File
13 lines
149 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import argparse
|
|
import pytest
|
|
import tests
|
|
|
|
def main():
|
|
exit(pytest.main(['.']))
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|