-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
55 lines (50 loc) · 1.23 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
51
52
53
54
55
[build-system]
requires = [
'setuptools>=42',
'wheel'
]
build-backend = 'setuptools.build_meta'
[tool.pylint]
[tool.pylint.master]
ignore = ['migrations', 'settings.py']
jobs = 1
load-plugins = 'pylint_django'
django-settings-module = 'wahlfang.settings.development'
[tool.pylint.'MESSAGES CONTROL']
disable = [
'print-statement',
'missing-function-docstring',
'missing-module-docstring',
'missing-class-docstring',
'line-too-long',
'invalid-name',
'unused-argument',
'too-many-locals',
'too-many-statements',
'too-many-instance-arguments',
'too-few-public-methods',
'too-many-arguments',
'too-many-instance-attributes',
'too-many-branches',
'too-many-lines',
'too-many-public-methods',
'bad-indentation',
'bad-continuation',
'import-error',
'wildcard-import',
'no-self-use',
'duplicate-code',
'wrong-import-position',
'no-member',
'unused-import'
]
[tool.mypy]
plugins = [
'mypy_django_plugin.main'
]
ignore_missing_imports = true
pretty = true
#[tool.mypy.plugins.'django-stubs'] # FIXME: this does not work with toml apparently
#django_settings_module = 'wahlfang.settings.development'
[tool.'mypy-*'.'migrations.*']
ignore_errors = true