-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
51 lines (44 loc) · 1.03 KB
/
tox.ini
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
[flake8]
max-line-length = 120
max-line-complexity = 15
max-arguments = 9
max-local-variables = 9
max-methods = 9
max-attributes = 9
i-control-code = false
ignore =
# disable docstring inspections
D, DAR, RST
# disable isort inspections, isort will sort imports in pre-commit hooks
I
# allow double-quoted strings, black will format all quotes to double in pre-commit hooks
Q000
# allow class without a base class
WPS306
# allow f-strings
WPS305
# allow explicit string concatenation
WPS336
# allow static methods
WPS602
# allow `not` usage, e.g. `if not 0 < size < 1`
WPS508
# disable trailing commas, black will put trailing commas where needed in pre-commit hooks
C812
# allow to iterate over lists, not only tuples
WPS335
# allow to use `print()` function
WPS421
# allow to use subprocesses module
S404, S603
# allow to use "%" string formatting
WPS323
[pytest]
addopts = "--import-mode=importlib"
[coverage:report]
show_missing = true
skip_empty = true
skip_covered = true
[coverage:run]
branch = true
source = memory_magics