/
setup.cfg
76 lines (62 loc) · 1.39 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[flake8]
application-import-names = comics
max-line-length = 80
exclude =
migrations,
.git,
.tox,
.venv
select =
# Regular flake8 rules
C, E, F, W
# flake8-bugbear rules
B
# B950: line too long (soft speed limit)
B950
# flake8-black rules
BLK
# flake8-isort rules
I
# pep8-naming rules
N
ignore =
# E203: whitespace before ':' (not PEP8 compliant)
E203
# E501: line too long (replaced by B950)
E501
# W503: line break before binary operator (not PEP8 compliant)
W503
[mypy]
no_implicit_optional = True
strict_equality = True
warn_redundant_casts = True
warn_return_any = True
warn_unused_configs = True
plugins =
mypy_django_plugin.main
[mypy.plugins.django-stubs]
django_settings_module = "comics.settings"
[mypy-comics.aggregator.crawler]
disallow_untyped_defs = True
warn_return_any = True
[mypy-comics.core.comic_data]
disallow_untyped_defs = True
warn_return_any = True
[mypy-comics.*.migrations.*]
ignore_errors = True
[mypy-debug_toolbar.*]
ignore_missing_imports = True
[mypy-django_extensions.*]
ignore_missing_imports = True
[mypy-environ.*]
ignore_missing_imports = True
[mypy-feedparser.*]
ignore_missing_imports = True
[mypy-invitations.*]
ignore_missing_imports = True
[mypy-lxml.*]
ignore_missing_imports = True
[mypy-PIL.*]
ignore_missing_imports = True
[mypy-tastypie.*]
ignore_missing_imports = True