2014-08-07 23:10:26 +04:00
|
|
|
[flake8]
|
|
|
|
max-line-length = 120
|
2015-09-24 10:33:33 +03:00
|
|
|
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules
|
2015-09-26 10:47:44 +03:00
|
|
|
|
2017-04-30 00:57:23 +03:00
|
|
|
[pycodestyle]
|
2015-09-26 10:47:44 +03:00
|
|
|
max-line-length = 120
|
2018-05-05 12:45:49 +03:00
|
|
|
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules
|
2018-07-02 10:22:48 +03:00
|
|
|
|
|
|
|
[mypy]
|
2019-09-30 03:04:21 +03:00
|
|
|
python_version = 3.7
|
2018-07-02 10:22:48 +03:00
|
|
|
check_untyped_defs = True
|
|
|
|
ignore_missing_imports = True
|
|
|
|
warn_unused_ignores = True
|
|
|
|
warn_redundant_casts = True
|
|
|
|
warn_unused_configs = True
|
2020-01-12 16:28:37 +03:00
|
|
|
plugins = mypy_django_plugin.main
|
2018-07-02 10:22:48 +03:00
|
|
|
|
2019-12-11 16:58:21 +03:00
|
|
|
[mypy.plugins.django-stubs]
|
|
|
|
django_settings_module = config.settings.test
|
|
|
|
|
2018-07-02 10:22:48 +03:00
|
|
|
[mypy-*.migrations.*]
|
|
|
|
# Django migrations should not produce any errors:
|
|
|
|
ignore_errors = True
|