-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (40 loc) · 1.19 KB
/
pyproject.toml
File metadata and controls
50 lines (40 loc) · 1.19 KB
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
[tool.isort]
line_length = 120
known_first_party = ["inspector","config"]
multi_line_output = 3
default_section = "THIRDPARTY"
skip = "venv/"
skip_glob = "**/migrations/*.py"
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
profile = "black"
[tool.pytest.ini_options]
addopts = ["--ds=config.settings.test", "--reuse-db"]
python_files = ["tests.py", "test_*.py"]
[tool.pylint.MASTER]
load-plugins=["pylint_django", "pylint_celery"]
django-settings-module="config.settings.local"
[tool.pylint.FORMAT]
max-line-length=120
[tool.pylint.'MESSAGES CONTROL']
disable=["missing-docstring", "invalid-name"]
[tool.pylint.DESIGN]
max-parents=13
[tool.pylint.TYPECHECK]
generated-members=["REQUEST","acl_users","aq_parent","[a-zA-Z]+_set{1,2}","save", "delete"]
[tool.mypy]
python_version = "3.10"
check_untyped_defs = true
ignore_missing_imports = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unused_configs = true
plugins = ["mypy_django_plugin.main", "mypy_drf_plugin.main"]
[tool.django-stubs]
django_settings_module = "config.settings.test"
[tool."mypy-*".migrations."*"]
# Django migrations should not produce any errors:
ignore_errors = true
[tool.black]
line-length = 120