plating 2025-11-17
Resolve 373 ruff linting violations and fix conform.py lint issues
24 files · 386+ · 356-

Comprehensive ruff lint resolution

16 files changed
  • adorner.py Lint fixes (noqa comments, Path usage)
  • plate.py Lint fixes (simplified conditionals)
  • examples.py Lint fixes
  • pyproject.py Lint fixes (Path.open, type annotations)
  • runtime.py Lint fixes (simplified with statements)
  • doc_generator.py Lint fixes (Path.open, complexity noqa)
  • decorators.py Lint fixes (type annotations for wrappers)
  • finder.py Lint fixes
  • errors.py Lint fixes
  • nav_generator.py Lint fixes
  • plating.py Lint fixes
  • engine.py Lint fixes (Path.open, complexity noqa)
  • functions.py Lint fixes
  • types.py Lint fixes (type annotations)
  • pyproject.toml Added ruff per-file-ignores config for test files
  • uv.lock Dependency resolution update
  • Fixed RUF001: Added noqa comments for intentional unicode info emoji in UI output remediate internal
    1 file
    • plate.py
  • Fixed SIM102/SIM108/SIM117: Simplified conditional logic and combined nested with statements remediate internal
    2 files
    • runtime.py
    • doc_generator.py
  • Fixed PTH123: Replaced open() with Path.open() in 7 locations remediate internal
    3 files
    • doc_generator.py
    • engine.py
    • pyproject.py
  • Fixed C901: Added noqa for 9 complex functions remediate internal
    3 files
    • doc_generator.py
    • engine.py
    • decorators.py
  • Fixed ANN: Added missing type annotations for wrapper functions and parameters specify internal
    2 files
    • decorators.py
    • types.py
  • Configured per-file-ignores to disable ANN rules in test files qualify internal
    1 file
    • pyproject.toml
  • Applied ruff format for consistent code formatting remediate internal
    3 files
    • adorner.py
    • examples.py
    • nav_generator.py

Fix conform.py lint violations

1 file changed
  • conform.py Added FOOTER constant, type annotations, replaced open() with Path.open()
  • Added missing FOOTER constant and type annotations for function parameters and return types remediate internal
    1 file
    • conform.py
  • Replaced open() with Path.open() remediate internal
    1 file
    • conform.py

Test updates for lint compliance

7 files changed
  • conftest.py Minor fix
  • test_full_plate_workflow.py Updated for lint compliance (114 lines changed)
  • test_capability_grouping.py Lint fixes
  • test_guide_discovery.py Lint fixes
  • test_index_merger.py Removed unused imports
  • test_mkdocs_nav_generator.py Lint fixes
  • test_subcategory_frontmatter.py Removed unused imports
  • Updated test files across integration workflow, capability grouping, guide discovery, index merger, mkdocs nav generator, subcategory frontmatter qualify internal
    6 files
    • test_full_plate_workflow.py
    • test_capability_grouping.py
    • test_guide_discovery.py
    • test_index_merger.py
    • test_mkdocs_nav_generator.py
    • test_subcategory_frontmatter.py