-
Notifications
You must be signed in to change notification settings - Fork 49
/
setup.cfg
41 lines (33 loc) · 839 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
[flake8]
select =
E7
E9
F60
F63
F7
F82
# E721 - allow type comparisons with equality
# E731 - allow assignment to lambdas
extend-ignore =
E721
E731
[isort]
profile = black
[mypy]
# We should be targeting 3.7 compatibility, but I can't for the life of me figure out
# how to avoid an error with numpy's pyi files. (follow_imports=skip doesn't help!)
python_version = 3.8
warn_unused_configs = True
[mypy-crosshair.tools.*]
# We use Python 3.9+ features in tools:
ignore_errors = True
[mypy-pygls.*]
ignore_missing_imports = True
[pydocstyle]
ignore = D1,D203,D200,D205,D212,D400,D401,D402,D403,D415
match = .*(?<!_test).py$
[tool:pytest]
python_files = *_test.py
markers =
demo: mark a test to show as an example for end users
smoke: mark a test to use for quick testing or per-wheel testing