- Add ruff configuration to pyproject.toml with sensible defaults - Add pre-commit hooks for ruff check and format - Update CI to run ruff check and format verification on tests/ - Fix Python 3.10 mock.patch compatibility in CLI tests - Use importlib to get actual modules, bypassing shadowed click groups - Add get_cli_module() helper and update patch_client_for_module() - Apply ruff formatting to all source and test files - Move .claude/skills to gitignore (local-only skills) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
7 lines
152 B
YAML
7 lines
152 B
YAML
repos:
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.8.6
|
|
hooks:
|
|
- id: ruff
|
|
args: [--fix]
|
|
- id: ruff-format
|