-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
32 lines (30 loc) · 1.03 KB
/
pyproject.toml
File metadata and controls
32 lines (30 loc) · 1.03 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
32
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = [
"-q",
"--basetemp",
".pytest_tmp",
"--strict-markers",
]
asyncio_mode = "auto"
filterwarnings = [
"error::DeprecationWarning",
"error::PendingDeprecationWarning",
]
markers = [
"asyncio: async tests powered by pytest-asyncio",
"unit: fast, isolated unit tests (no HTTP server, no real DB/network)",
"integration: integration tests (TestClient/SQLite/MockTransport; no real upstream)",
"e2e: black-box end-to-end tests (HTTP; opt-in via FCAM_E2E=1)",
"smoke: smoke tests for core functionality (run before large test suites)",
"regression: regression test suite (re-run after changes; should be fast and stable)",
"upstream: real upstream calls (cost/flaky; requires FCAM_E2E_ALLOW_UPSTREAM=1)",
"external: external environment compatibility tests (requires FCAM_FC_* env)",
"admin: tests requiring admin token (control plane tests)",
]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "B"]
ignore = ["E501", "B008"]