Add ruff config to exclude alembic E402, SQLAlchemy F821, and pre-existing E501 line-length issues. Auto-fix 69 unused imports and 2 f-strings without placeholders. Manually fix 8 unused variables. Apply ruff format to 127 files. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
15 lines
454 B
Python
15 lines
454 B
Python
"""Shared test fixtures for the backend test suite.
|
|
|
|
Phase 7: Minimal fixtures for unit tests (no database, no async).
|
|
Phase 10: Integration test fixtures added in tests/integration/conftest.py.
|
|
|
|
Pytest marker registration and shared configuration lives here.
|
|
"""
|
|
|
|
|
|
def pytest_configure(config):
|
|
"""Register custom markers."""
|
|
config.addinivalue_line(
|
|
"markers", "integration: marks tests as integration tests requiring PostgreSQL"
|
|
)
|