-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
31 lines (29 loc) · 1.25 KB
/
setup.cfg
File metadata and controls
31 lines (29 loc) · 1.25 KB
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
[flake8]
max-line-length = 120
exclude = .git,__pycache__,.venv,build,dist,.eggs,node_modules,.node_modules
ignore = E203,E266,E501,W503,E402,F401,F841,E722
[tool:pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Benchmark configuration for cleaner output
addopts = --benchmark-columns=mean,stddev,rounds --benchmark-sort=mean --cov-fail-under=70
# Markers for different test types
markers =
unit: Unit tests (fast, isolated)
integration: Integration tests (multiple components)
e2e: End-to-end tests (full workflows)
slow: Tests that take a long time to run
filterwarnings =
ignore::DeprecationWarning:httpx._client
ignore::sqlalchemy.exc.MovedIn20Warning
ignore::UserWarning:paddle.utils.cpp_extension.extension_utils
ignore:builtin type SwigPyPacked has no __module__ attribute:DeprecationWarning
ignore:builtin type SwigPyObject has no __module__ attribute:DeprecationWarning
ignore:builtin type swigvarlink has no __module__ attribute:DeprecationWarning
ignore:'asyncio.iscoroutinefunction' is deprecated:DeprecationWarning:starlette._utils
ignore:'asyncio.iscoroutinefunction' is deprecated:DeprecationWarning:fastapi.routing
[isort]
profile = black
line_length = 120