-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
50 lines (41 loc) · 1.25 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
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
known_django = "django"
sections = ["FUTURE", "STDLIB", "DJANGO", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
[tool.pylint.master]
load-plugins = [
"pylint.extensions.mccabe",
"pylint.extensions.bad_builtin",
"pylint_django",
"pylint_django.checkers.migrations",
]
good-names = ["application", "urlpatterns", "default_app_config", "i"]
[tool.pylint.basic]
docstring-min-length = 5
include-naming-hint = true
[tool.pylint.design]
min-public-methods = 0
max-parents = 15
[tool.pylint.similarities]
ignore-imports = true
ignore-comments = true
ignore-docstrings = true
[tool.pylint.spelling]
spelling-dict = "en_US"
spelling-private-dict-file = ".dictionary"
[tool.pylint.format]
max-line-length = 88 # https://black.readthedocs.io/en/stable/the_black_code_style.html#line-length
[tool.pylint."django foreign keys referenced by strings"]
django-settings-module = "blog_demo_django_app.settings"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "blog_demo_django_app.settings"
filterwarnings = [
"error",
"once::django.utils.deprecation.RemovedInDjango41Warning:django.apps",
]
[tool.black]
experimental-string-processing = true