[flake8]
max-complexity = 16
select = A50,E,W1,W2,W3,W504,W505,W6,B,DJ
enable-extensions = B,C,D,DJ,F,G,I,M,N,R,SF,T,UPS
ignore = E203,DJ04,DJ05,R504,D10,D401,SF01,N818
exclude = settings.py,.git,data,data-test,.venv*,build,node_modules
max-line-length = 88
assertive-test-pattern = **/test_*.py
per-file-ignores = 
	docs/conf.py:E800
	weblate/lang/data.py:E501
	weblate/utils/licensedata.py:E501
	weblate/settings_*.py:F405
	weblate/settings_example.py:E800
	weblate/settings_docker.py:E800
	weblate/*/migrations/*.py:C405,E501,N806,DJ01,DJ02
	weblate/addons/utils.py:N806
	weblate/utils/locale.py:B012
	scripts/*:T001,T003
	weblate/examples/generate-secret-key:T001
	weblate/trans/migrations/0103_update_source_unit.py:T001,N806
	weblate/trans/migrations/0116_migrate_glossaries.py:T001,N806,E501
	weblate/trans/migrations/0127_fix_source_glossary.py:T001,N806
	weblate/trans/migrations/0133_glossary_missing_files.py:T001,N806
	weblate/auth/migrations/0018_fixup_role.py:T001,N806
	weblate/addons/management/commands/list_addons.py:E501

[pycodestyle]
select = E,W1,W2,W3,W504,W505,W6
exclude = migrations,settings.py,settings_test.py,.git,data,data-test,docs,.venv*,build,node_modules
max-line-length = 88

[isort]
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
use_parentheses = True
line_length = 88
known_first_party = weblate
known_third_party = django,translate,translation_finder,zeep,boto3,selenium,botocore,social_core,cairo,gi,PIL,social_django,html2text,celery,crispy_forms,requests,openpyxl,whoosh,rest_framework,filelock,defusedxml,lxml,appconf,dateutil,user_agents,numba,sentry_sdk,misaka,git,jellyfish,pytz,responses,bleach,icu,weblate_schemas,diff_match_patch,jsonschema,django_redis,redis_lock,siphashc,google,django_filters,pyparsing,dictionary,weblate_language_data

[egg_info]
tag_build = 
tag_date = 0

