scholarr/tests/unit
Justin Visser bf04c77aa9 ci: add ruff linting and mypy type checking
Add ruff and mypy to dev dependencies with configuration in pyproject.toml.
Add a lint CI job that runs ruff check, ruff format --check, and mypy.
Auto-fix import sorting and formatting across the codebase. Exclude
alembic/versions from linting (auto-generated migrations). Ignore B008
(FastAPI Depends pattern) and RUF001 (unicode in user-facing strings).

21 ruff lint errors and 50 mypy errors remain for manual review.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 22:11:41 +01:00
..
services/domains ci: add ruff linting and mypy type checking 2026-02-26 22:11:41 +01:00
test_auth_primitives.py remove legacy in-memory search state fallback 2026-02-19 22:31:26 +01:00
test_crossref_lookup.py s 2026-02-22 16:23:35 +01:00
test_doi_normalize.py harden domain architecture and add lazy Crossref+Unpaywall PDF enrichment with publications workspace refactor 2026-02-20 22:56:52 +01:00
test_fingerprints.py ci: add ruff linting and mypy type checking 2026-02-26 22:11:41 +01:00
test_healthz.py removed old UI 2026-02-17 15:21:08 +01:00
test_ingestion_arxiv_rate_limit.py ci: add ruff linting and mypy type checking 2026-02-26 22:11:41 +01:00
test_ingestion_progress_reporting.py Intermediate commit 2026-02-26 16:09:57 +01:00
test_logging.py ci: add ruff linting and mypy type checking 2026-02-26 22:11:41 +01:00
test_publication_identifiers.py Intermediate commit 2026-02-26 16:09:57 +01:00
test_publication_pdf_queue_policy.py ci: add ruff linting and mypy type checking 2026-02-26 22:11:41 +01:00
test_publication_pdf_resolution_pipeline.py ci: add ruff linting and mypy type checking 2026-02-26 22:11:41 +01:00
test_request_delay_policy.py ci: add ruff linting and mypy type checking 2026-02-26 22:11:41 +01:00
test_run_safety.py ci: add ruff linting and mypy type checking 2026-02-26 22:11:41 +01:00
test_runs_summary.py harden domain architecture and add lazy Crossref+Unpaywall PDF enrichment with publications workspace refactor 2026-02-20 22:56:52 +01:00
test_scholar_parser.py m 2026-02-20 23:29:44 +01:00
test_scholar_search_safety.py ci: add ruff linting and mypy type checking 2026-02-26 22:11:41 +01:00
test_scholar_source.py Intermediate commit 2026-02-26 16:09:57 +01:00
test_scholars_create_hydration.py Intermediate commit 2026-02-26 16:09:57 +01:00
test_security_headers.py feat: production-harden app and finalize merge-ready UX/theme baseline 2026-02-19 15:43:20 +01:00
test_unpaywall_pdf_discovery.py ci: add ruff linting and mypy type checking 2026-02-26 22:11:41 +01:00
test_unpaywall_resolution.py ci: add ruff linting and mypy type checking 2026-02-26 22:11:41 +01:00
test_user_settings.py harden domain architecture and add lazy Crossref+Unpaywall PDF enrichment with publications workspace refactor 2026-02-20 22:56:52 +01:00