Created
August 7, 2020 15:28
-
-
Save zerolab/f7a40156fe50a229947e123a7152fed4 to your computer and use it in GitHub Desktop.
Example black config with excludes for the migrations directory
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 = ['py38'] | |
exclude = ''' | |
( | |
/( | |
\.eggs # exclude a few common directories in the | |
| \.git # root of the project | |
| \.mypy_cache | |
| \.tox | |
| \.venv | |
| __pycache__ | |
| _build | |
| build | |
| dist | |
| docs | |
| venv | |
| migrations\/* | |
)/ | |
) | |
''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment