-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
41 lines (32 loc) · 903 Bytes
/
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
# https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html
[isort]
line_length = 88
profile = black
[flake8]
max-line-length = 88
extend-ignore = E203, ANN101
[pylint]
max-line-length = 88
extension-pkg-whitelist=pydantic # need for fastapi
[pylint.messages_control]
# https://vald-phoenix.github.io/pylint-errors/#list-of-errors
disable =
C0330, # bad-continuation
C0326, # bad-whitespace
C0411, # wrong-import-order
R0903, # too-few-public-methods
[pylint.typecheck]
# List of members which are set dynamically and missed by Pylint inference
# system, and so shouldn't trigger E1101 when accessed.
generated-members=torch.*
[mypy]
ignore_missing_imports = True
[tool:pytest]
filterwarnings = ignore::DeprecationWarning
[coverage:run]
# omit = file-path-to-omit
branch = true
parallel = true
[coverage:report]
fail_under = 100.0
show_missing = true