-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
43 lines (37 loc) · 1.31 KB
/
setup.cfg
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
[mypy]
python_version = 3.10
plugins =
mypy_django_plugin.main
exclude =
dist
[mypy.plugins.django-stubs]
django_settings_module = "django_hawk.tests.settings"
[mypy-mohawk.*]
ignore_missing_imports = True
[mypy-setuptools.*]
ignore_missing_imports = True
[pep8]
exclude = */migrations/*,__pycache__,manage.py
# W503: line break occurred before a binary operator (not recommended in PEP 8)
ignore = W503
max-line-length = 100
[flake8]
# D100: Missing docstring in public module
# D104: Missing docstring in public package
# D106: Missing docstring in public nested class
# D200: One-line docstring should fit on one line with quotes
# D203: 1 blank line required before class docstring
# D205: 1 blank line required between summary line and description
# D400: First line should end with a period
# D401: First line should be in imperative mood
# W503: line break occurred before a binary operator (not recommended in PEP 8)
exclude = *dist*,*/migrations/*,__pycache__,manage.py,.git/*,.tox/*,.coverage,env/*,lib/*,bin/*,include/*,.direnv/*,venv/*,./front_end,./node_modules,./src,./features,./fidovenv
ignore = D100,D104,D106,D200,D203,D205,D400,D401,W503
max-line-length = 100
max-complexity = 10
application-import-names = django_hawk
extend-ignore = E203
[isort]
profile = black
src_paths = django
known_first_party = django_hawk