-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.cfg
55 lines (43 loc) · 1.21 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
[tool:pytest]
testpaths = tests
#addopts = -v -m "not external_http" --cov=chili --cov-report term-missing --no-cov-on-fail
markers = ["external_http: tests which use real external HTTP call (deselect with -m not external_http)"]
[isort]
line_length = 120
known_first_party = chili
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
combine_as_imports = True
[mypy]
python_version = 3.9
warn_unused_configs = True
ignore_missing_imports = True
follow_imports = silent
exclude = .venv|tests|examples
plugins = gaffe.mypy:plugin
[flake8]
ignore = E501, W503, E203
max-line-length = 120
exclude = .venv
[pylint.FORMAT]
max-line-length = 120
[pylint.'MESSAGES CONTROL']
disable = missing-docstring, line-too-long, logging-fstring-interpolation, duplicate-code
[pylint.SIMILARITIES]
# Ignore imports when computing similarities.
ignore-imports = yes
# Minimum lines number of a similarity.
min-similarity-lines = 6
# Ignore comments when computing similarities.
ignore-comments = yes
# Ignore docstrings when computing similarities.
ignore-docstrings = yes
[pylint.DESIGN]
min-public-methods = 1
max-attributes = 15
max-args = 10
[pylint.BASIC]
good-names = id,i,j,k,ph,T,U,V,I
[pylint.MISCELLANEOUS]
notes=XXX