-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
57 lines (48 loc) · 1.4 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[isort]
combine_as_imports = true
default_section = THIRDPARTY
known_first_party = githubcontrib
include_trailing_comma = true
line_length = 119
multi_line_output = 3
skip = src/githubcontrib/migrations
[flake8]
exclude = src/githubcontrib/migrations/*,src/githubcontrib/tests/fixtures/*
max-line-length = 119
statistics = True
# Disable E121, E124, E128 (indentation) because it is handled by pylint.
# Disable E402 (imports) because it is handled by isort.
# Disable E501 because it is handled by black.
# Disable E203, W503 because it conflicts with black.
ignore = E121,E124,E128,E203,E402,E501,W503
[tool:pytest]
python_files = test_*
DJANGO_SETTINGS_MODULE = githubcontrib_project.settings_test
addopts = --cov-report xml --cov-report term-missing --cov src --nomigrations -vv
[mypy]
mypy_path = src
plugins =
mypy_django_plugin.main
namespace_packages = True
disallow_subclassing_any = False
warn_no_return = True
warn_unreachable = True
local_partial_types = True
pretty = True
strict = True
exclude = (?x)(
^src/githubcontrib/tests |
^src/githubcontrib/migrations
)
[mypy.plugins.django-stubs]
django_settings_module = githubcontrib_project.settings
[mypy-braces.*]
ignore_missing_imports = True
[mypy-debug_toolbar.*]
ignore_missing_imports = True
[mypy-social_core.*]
ignore_missing_imports = True
[mypy-menu.*]
ignore_missing_imports = True
[mypy-social_django.*]
ignore_missing_imports = True