| 1 | [tool.isort] |
| 2 | profile = "black" |
| 3 | lines_after_imports = 2 |
| 4 | multi_line_output = 3 |
| 5 | order_by_type = true |
| 6 | known_django = "django" |
| 7 | known_django_third_party = "django_*" |
| 8 | known_first_party = "apps,captcha" |
| 9 | sections = "FUTURE,STDLIB,THIRDPARTY,DJANGO,DJANGO_THIRD_PARTY,FIRSTPARTY,LOCALFOLDER" |
| 10 | skip_glob= "**/migrations/**" |
| 11 | |
| 12 | |
| 13 | [tool.black] |
| 14 | line-length = 88 |
| 15 | target-version = ['py38'] |
| 16 | exclude = ''' |
| 17 | |
| 18 | ( |
| 19 | /( |
| 20 | \.eggs # exclude a few common directories in the |
| 21 | | \.git # root of the project |
| 22 | | \.hg |
| 23 | | \.mypy_cache |
| 24 | | \.tox |
| 25 | | \.venv |
| 26 | | _build |
| 27 | | buck-out |
| 28 | | build |
| 29 | | dist |
| 30 | | node_modules |
| 31 | )/ |
| 32 | | foo.py # also separately exclude a file named foo.py in |
| 33 | # the root of the project |
| 34 | ) |
| 35 | ''' |