-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
58 lines (48 loc) · 1.76 KB
/
setup.cfg
File metadata and controls
58 lines (48 loc) · 1.76 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
52
53
54
55
56
57
58
# 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/mpt_client.py: WPS214 WPS235
mpt_api_client/http/mixins.py: WPS202 WPS204 WPS235
mpt_api_client/resources/*: WPS215
mpt_api_client/models/model.py: WPS215 WPS110
mpt_api_client/resources/accounts/*.py: WPS202 WPS215 WPS214 WPS235
mpt_api_client/resources/billing/*.py: WPS202 WPS204 WPS214 WPS215
mpt_api_client/resources/catalog/*.py: WPS110 WPS214 WPS215 WPS235
mpt_api_client/resources/catalog/products.py: WPS204 WPS214 WPS215 WPS235
mpt_api_client/rql/query_builder.py: WPS110 WPS115 WPS210 WPS214
tests/unit/http/test_async_service.py: WPS204 WPS202
tests/unit/http/test_service.py: WPS204 WPS202
tests/unit/http/test_mixins.py: WPS204 WPS202 WPS210
tests/unit/resources/catalog/test_products.py: WPS202 WPS210
tests/unit/resources/accounts/*.py: WPS204 WPS202 WPS210
tests/unit/resources/*/test_mixins.py: WPS118 WPS202 WPS204 WPS235
tests/unit/test_mpt_client.py: WPS235
tests/e2e/accounts/*.py: WPS430 WPS202
tests/e2e/catalog/*.py: WPS421
tests/*:
# Allow magic strings.
WPS432
# Found too many modules members.
WPS202