forked from Curt-Park/segment-anything-with-clip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
31 lines (24 loc) · 744 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
# 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
[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=numpy.*, torch.*
[mypy]
ignore_missing_imports = True
[tool:pytest]
filterwarnings = ignore::DeprecationWarning