-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.cfg
68 lines (59 loc) · 1.45 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[tool:pytest]
addopts = --strict-markers
# -p no:warnings
--cov
--cov-report=html
--cov-config=./setup.cfg
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
unit: unit tests of source code (fast)
smoke: smoke tests
[pydocstyle]
match= .*.py
ignore=D203, D205, D212, D213, D400, D406, D409, D413, D415, D416, D417, D419
[pycodestyle]
max-line-length = 240
ignore=E203, W503
exclude = redbrick/types/task.py
[pylint]
max-line-length = 240
ignore=env,LOCAL,tests,dist
disable=too-few-public-methods,
too-many-arguments,
too-many-instance-attributes,
too-many-positional-arguments,
duplicate-code,
consider-using-f-string,
logging-fstring-interpolation,
logging-format-interpolation,
logging-not-lazy,
broad-exception-raised,
empty-docstring,
line-too-long
[flake8]
max-complexity = 60
exclude = redbrick/types/task.py
# disabled
max-line-length = 240
ignore =
# ignore these, likely redundant with pylint, only being raised for test files
F403,
F401,
# this is in direct conflict with the way black formats
W503,
# in accordance with pydocstyle
E203,
F405,
[coverage:run]
omit=
env/*
tests/*
branch=True
[mypy-numpy]
ignore_missing_imports=True
[mypy-tqdm.asyncio]
ignore_missing_imports=True
[mypy-tqdm]
ignore_missing_imports=True
[mypy-nest_asyncio]
ignore_missing_imports=True