-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
69 lines (64 loc) · 1.09 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[tool.black]
target-version = ["py311"]
line-length = 120
include = '\.pyi?$'
exclude = '''
/(
| __pycache__
| .git
| .mypy_cache
| .pytest_cache
| .tox
| .venv
| .vscode
| node_modules
| migrations
| node_modules
)/
'''
# https://pycqa.github.io/isort/docs/configuration/options.html
[tool.isort]
atomic = true
line_length = 120
profile = "black"
combine_as_imports = true
default_section = "THIRDPARTY"
known_third_party = "django"
skip = [
'.bzr',
'.direnv',
'.eggs',
'.git',
'.hg',
'.mypy_cache',
'.nox',
'.pants.d',
'.svn',
'.tox',
'.venv',
'__pypackages__',
'_build',
'buck-out',
'build',
'dist',
'node_modules',
'venv',
'migrations',
]
[tool.mypy]
# python_version = 3.11
ignore_missing_imports = true
exclude = [
'^.*?src/.*$',
'^.*?/migrations/.*$',
'^.*?/factories\.py$',
"^.*?/?__pycache__/.*$",
"^.git/.*$",
"^.mypy_cache/.*$",
"^.pytest_cache/.*$",
"^.tox/.*$",
"^.venv/.*$",
"^.vscode/.*$",
"^node_modules/.*$",
'^.*?/tests/.*$',
]