-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
51 lines (41 loc) · 1.37 KB
/
setup.cfg
File metadata and controls
51 lines (41 loc) · 1.37 KB
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
# All configuration for plugins
# and other utils is defined here and in `pyproject.toml`
# === Linter configuration ===
# NOTE: You can use https://pypi.org/project/Flake8-pyproject/
# to move all your `flake8` configuration to `pyproject.toml`
[flake8]
# Base flake8 configuration:
# https://flake8.pycqa.org/en/latest/user/configuration.html
format = wemake
show-source = true
statistics = false
doctests = true
# Self settings:
max-imports = 17
# Excluding some directories:
extend-exclude =
.venv
# We only run `wemake-python-styleguide` with `flake8`:
select = WPS, E999
extend-ignore =
# Found string constant over-use
WPS226
# Allow logic in WPS412
WPS412
per-file-ignores =
mpt_api_client/resources/billing/*.py: WPS215 WPS202 WPS214
mpt_api_client/resources/catalog/*.py: WPS110 WPS215 WPS214
mpt_api_client/resources/commerce/*.py: WPS215
mpt_api_client/rql/query_builder.py: WPS110 WPS115 WPS210 WPS214
mpt_api_client/resources/catalog/products.py: WPS204 WPS214 WPS215
mpt_api_client/http/mixins.py: WPS202
tests/http/test_async_service.py: WPS204 WPS202
tests/http/test_service.py: WPS204 WPS202
tests/http/test_mixins.py: WPS204 WPS202
tests/resources/catalog/test_products.py: WPS202 WPS210
tests/resources/*/test_mixins.py: WPS118 WPS202 WPS204
tests/*:
# Allow magic strings.
WPS432
# Found too many modules members.
WPS202