Created
November 14, 2019 11:00
-
-
Save guptarohit/698227ef134c5e3af05e77dc0537b653 to your computer and use it in GitHub Desktop.
pre-commit hooks configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tool.black] | |
line-length = 88 | |
include = '\.pyi?$' | |
exclude = ''' | |
/( | |
\.git | |
| \.hg | |
| \.mypy_cache | |
| \.tox | |
| \.venv | |
| _build | |
| buck-out | |
| build | |
| dist | |
)/ | |
''' | |
[tool.isort] | |
line_length = 88 | |
multi_line_output = 3 | |
include_trailing_comma = true | |
known_third_party = ["celery", "django", "environ", "pyquery", "pytz", "redis", "requests", "rest_framework"] | |
[tool.flake8] | |
max-line-length = 88 | |
max-complexity = 18 | |
select = "B,C,E,F,W,T4,B9" | |
ignore = "E203, E266, E501, W503, F403, F401" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment