repos:
  - repo: local
    hooks:
      - id: pytest-routes
        name: pytest (route definition check)
        description: Verify all routes are defined and covered in permission_config
        entry: pytest py_service/tests/test_routes_defined.py py_service/tests/test_00_discover_routes.py -v --no-header -q
        language: system
        pass_filenames: false
        always_run: true
      - id: ruff
        name: ruff linter
        entry: ruff check py_service/
        language: system
        pass_filenames: false
