2017-07-22 18:29:14 +02:00
|
|
|
[flake8]
|
2024-01-25 15:33:24 +01:00
|
|
|
max-line-length = 120
|
|
|
|
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules,venv
|
2017-07-22 18:29:14 +02:00
|
|
|
# E731: lambda expression
|
|
|
|
ignore = E731
|
|
|
|
|
2024-01-25 15:33:24 +01:00
|
|
|
[pycodestyle]
|
|
|
|
max-line-length = 120
|
|
|
|
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules,venv
|
|
|
|
|
2017-07-22 18:29:14 +02:00
|
|
|
[isort]
|
2024-01-25 15:33:24 +01:00
|
|
|
line_length = 88
|
|
|
|
known_first_party = geoip,config
|
|
|
|
multi_line_output = 3
|
2017-07-22 18:29:14 +02:00
|
|
|
default_section = THIRDPARTY
|
2024-01-25 15:33:24 +01:00
|
|
|
skip = venv/
|
|
|
|
skip_glob = **/migrations/*.py
|
|
|
|
include_trailing_comma = true
|
|
|
|
force_grid_wrap = 0
|
|
|
|
use_parentheses = true
|
|
|
|
|
|
|
|
[mypy]
|
|
|
|
python_version = 3.9
|
|
|
|
check_untyped_defs = True
|
|
|
|
ignore_missing_imports = True
|
|
|
|
warn_unused_ignores = True
|
|
|
|
warn_redundant_casts = True
|
|
|
|
warn_unused_configs = True
|
|
|
|
plugins = mypy_django_plugin.main
|
|
|
|
|
|
|
|
[mypy.plugins.django-stubs]
|
|
|
|
django_settings_module = config.settings.test
|
|
|
|
|
|
|
|
[mypy-*.migrations.*]
|
|
|
|
# Django migrations should not produce any errors:
|
|
|
|
ignore_errors = True
|
|
|
|
|
|
|
|
[coverage:run]
|
|
|
|
include = geoip/*
|
|
|
|
omit = *migrations*, *tests*
|
|
|
|
plugins =
|
|
|
|
django_coverage_plugin
|
2017-07-22 18:29:14 +02:00
|
|
|
|
|
|
|
[bdist_wheel]
|
|
|
|
universal = 1
|