forked from webu/wagtail-parler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
52 lines (47 loc) · 1.28 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[tool.flake8]
exclude = "build,.git,.tox,./tests/env,./.venv"
max-line-length = 99
[tool.black]
line-length = 99
include = '\.pyi?$'
exclude = '''
/(
\.git
| python-env
| migrations
| \.tox
| \.venv
| docs/\.*/
)/
'''
[tool.isort]
profile="black"
line_length = 99
known_django = ["django"]
known_pylib = ["dateutil"]
known_third_party = ["parler", "wagtail"]
known_first_party = ["wagtail_parler"]
indent = ' '
multi_line_output = 3
length_sort = false
force_single_line = true
default_section = "THIRDPARTY"
sections = ["FUTURE", "STDLIB", "PYLIB", "DJANGO", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
combine_as_imports = true
import_heading_future = "Future imports"
import_heading_stdlib = "Standard libs"
import_heading_pylib = "Python libs"
import_heading_django = "Django imports"
import_heading_thirdparty = "Third Party"
import_heading_firstparty = "wagtail / parler"
import_heading_localfolder = "Local Apps"
force_sort_within_sections=true
[tool.djlint]
profile = "django"
preserve_blank_lines = true
format_js = false
format_css = true
[tool.pyright]
exclude = [".venv"]
venvPath = "."
venv = "./.venv"