forked from jdb78/lipo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
49 lines (46 loc) · 1.24 KB
/
setup.cfg
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
[flake8]
max-line-length = 120
show-source = true
ignore =
E203, # space before : (needed for how black formats slicing)
W503, # line break before binary operator
W504, # line break after binary operator
E402, # module level import not at top of file
E731, # do not assign a lambda expression, use a def
E741, # ignore not easy to read variables like i l I etc.
C406, # Unnecessary list literal - rewrite as a dict literal.
C408, # Unnecessary dict call - rewrite as a literal.
C409, # Unnecessary list passed to tuple() - rewrite as a tuple literal.
S001, # found modulo formatter (incorrect picks up mod operations)
F401 # unused imports
exclude = docs/build/*.py,
node_modules/*.py,
.eggs/*.py,
versioneer.py,
venv/*,
.venv/*,
.git/*
[isort]
profile = black
honor_noqa = true
line_length = 120
combine_as_imports = true
force_sort_within_sections = true
known_first_party = lipo
[tool:pytest]
addopts =
-rsxX
-vv
--last-failed
--cov=lipo
--cov-report=html
--cov-config=setup.cfg
--cov-report=term-missing:skip-covered
--no-cov-on-fail
-n0
testpaths = tests/
log_cli_level = ERROR
markers =
[coverage:report]
ignore_errors = False
show_missing = true