-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
39 lines (33 loc) · 865 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
[flake8]
statistics = true
# E501 - conflicts with ruff/black line length
# E203 - conflicts with ruff/black space before :
# E402 - allow imports anywhere in file
extend-ignore = E501, E203, E402
exclude = .mypy_cache,__pycache__
# F401 - intentionally unused imports in __init__.py
# F403 - allow wildcard imports in __init__.py
per-file-ignores =__init__.py:F401,F403
[coverage:run]
; parallel = true
concurrency = thread,gevent
disable_warnings = no-data-collected
relative_files = true
source =
src/langgate
omit =
**/__init__*
**/tests/*
**/stubs/*
[coverage:report]
exclude_lines =
pragma: no cover
exclude_also =
if __name__ == .__main__.:
if TYPE_CHECKING:
class .*\bProtocol\):
@(abc\.)?abstractmethod
[coverage:html]
directory = coverage_report/coverage.html
[coverage:xml]
output = coverage_report/coverage.xml