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.
33 lines
375 B
TOML
33 lines
375 B
TOML
[tool.black]
|
|
line-length = 120
|
|
target-version = ['py36']
|
|
include = '\.pyi?$'
|
|
exclude = '''
|
|
(
|
|
\.eggs
|
|
| \.git
|
|
| \.hg
|
|
| \.mypy_cache
|
|
| \.tox
|
|
| \venv
|
|
| \.venv
|
|
| _build
|
|
| buck-out
|
|
| build
|
|
| dist
|
|
| \.vscode
|
|
| \.idea
|
|
| \.Python
|
|
| develop-eggs
|
|
| downloads
|
|
| eggs
|
|
| lib
|
|
| lib64
|
|
| parts
|
|
| sdist
|
|
| var
|
|
| .*\.egg-info
|
|
| \.DS_Store
|
|
)
|
|
'''
|