Files
paperspec/.pytest.ini
T
alexmandClaude 2cfa080393 Install the studio standard's tooling files
Add .ruff.toml, ty.toml, .coveragerc, .pytest.ini and .pre-commit-config.yaml, take
.editorconfig, .gitignore and the CI workflow from the standard (keeping the repository's
own CI steps, the byte-exact fixture attributes and the fixture ignore exceptions), and
reduce pyproject.toml to metadata plus the setuptools build mapping.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B8cL4zN4XpaQF5cBtASzfq
2026-10-19 03:57:22 -04:00

52 lines
1.1 KiB
INI

[pytest]
minversion = 8.4
required_plugins = pytest-cov hypothesis
testpaths =
tests
src
# Lets tests import shared helpers (conftest constants, fakes) directly.
pythonpath = tests
norecursedirs =
*.egg
.eggs
dist
build
docs
.tox
.git
.pixi
.venv
node_modules
__pycache__
.hypothesis
.pytest_cache
.ruff_cache
htmlcov
python_files = test_*.py
doctest_optionflags =
NUMBER
NORMALIZE_WHITESPACE
IGNORE_EXCEPTION_DETAIL
ELLIPSIS
# The default run skips the slow and networked suites; `-m live` on the
# command line replaces this selection.
addopts =
--strict-markers
--strict-config
--import-mode=importlib
--tb=short
--doctest-modules
--doctest-continue-on-failure
--maxfail=2
-ra
-m "not live"
markers =
live: hits real public services; needs network (and any API keys it names)
xfail_strict = true
empty_parameter_set_mark = fail_at_collect
# Turn every warning into an error so deprecations surface immediately.
filterwarnings =
error
# Dump tracebacks of all threads if a single test hangs this long.
faulthandler_timeout = 300