Skip to content

Commit 0650b0f

Browse files
committed
Improved setup.cfg file.
1 parent 610694a commit 0650b0f

1 file changed

Lines changed: 23 additions & 12 deletions

File tree

setup.cfg

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
[black]
2-
line-length = 88 # Set line length to 88
2+
line-length = 88
33

4-
[pylint]
5-
disable = C0114 # Disable missing module docstring warning
4+
[isort]
5+
profile = black
6+
multi_line_output = 3
7+
include_trailing_comma = true
8+
force_grid_wrap = 0
9+
use_parentheses = true
10+
ensure_newline_before_comments = true
11+
line_length = 88
12+
remove_redundant_aliases = true
613

714
[flake8]
815
max-line-length = 88
@@ -11,12 +18,16 @@ exclude = .git,__pycache__,migrations,venv
1118
per-file-ignores =
1219
src/backend/settings_test.py: F405
1320

14-
[tool.isort]
15-
profile = "black"
16-
multi_line_output = 3 # Vertical hanging indent for imports
17-
include_trailing_comma = true # Add trailing comma
18-
force_grid_wrap = 0 # Disable wrapping
19-
use_parentheses = true # Use parentheses for wrapping
20-
ensure_newline_before_comments = true # Newline before comments in imports
21-
line_length = 88 # Set line length to 88
22-
remove_redundant_aliases = true # Remove redundant aliases
21+
[pylint]
22+
disable = C0114
23+
24+
[mypy]
25+
plugins = mypy_django_plugin.main
26+
ignore_missing_imports = True
27+
28+
[mypy-tests.*]
29+
ignore_errors = True
30+
31+
[mypy.plugins.django-stubs]
32+
django_settings_module = "backend.settings"
33+
strict_settings = True

0 commit comments

Comments
 (0)