Last active
April 2, 2020 07:31
-
-
Save bendog/1e3500f53beba7f0ff8431895fed55b1 to your computer and use it in GitHub Desktop.
black rules for django projects
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 = 120 | |
target_version = ['py37'] | |
exclude = ''' | |
( | |
/( | |
\.eggs # exclude a few common directories in the | |
| \.git # root of the project | |
| \.hg | |
| \.mypy_cache | |
| \.tox | |
| \.venv | |
| _build | |
| buck-out | |
| build | |
| dist | |
)/ | |
| migrations | |
) | |
''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment