mirror of
https://github.com/aquasecurity/kube-hunter.git
synced 2026-02-14 18:09:56 +00:00
Fix linting issues with flake8 and black. Add pre-commit congifuration, update documnetation for it. Apply linting check in Travis CI.
11 lines
208 B
YAML
11 lines
208 B
YAML
repos:
|
|
- repo: https://github.com/psf/black
|
|
rev: stable
|
|
hooks:
|
|
- id: black
|
|
- repo: https://gitlab.com/pycqa/flake8
|
|
rev: 3.7.9
|
|
hooks:
|
|
- id: flake8
|
|
additional_dependencies: [flake8-bugbear]
|