-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
35 lines (30 loc) · 906 Bytes
/
setup.cfg
File metadata and controls
35 lines (30 loc) · 906 Bytes
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
# All configuration for plugins and other utils is defined here.
# Read more about `setup.cfg`:
# https://docs.python.org/3.11/distutils/configfile.html
[flake8]
# Base flake8 configuration:
# https://flake8.pycqa.org/en/latest/user/configuration.html
format = wemake
show-source = true
statistics = false
doctests = true
# Plugins:
max-complexity = 6
max-line-length = 80
max-imports = 25
# We only run wemake-python-styleguide and system checks:
select = WPS, E99
# Excluding some directories:
extend-exclude =
.venv
django-new-forms
# Ignoring some errors in some files:
per-file-ignores =
# Allow imports in __init__.py:
django_new_forms/backends/__init__.py: WPS412
# Enable string overuse tests:
tests/*.py: WPS226
# Disable some lints for test app:
django_test_app/server/settings.py: WPS226, WPS407
# Allow local imports in test app:
django_test_app/new_forms/*.py: WPS300