kwork-api/.pre-commit-config.yaml
root f6e3dc15e6 feat: complete Kwork API client with 45+ endpoints
Initial release with comprehensive API coverage:

## Features
- Complete async API client (45+ endpoints)
- Pydantic models for all responses
- Two-step authentication
- Comprehensive error handling

## API Groups
- CatalogAPI, ProjectsAPI, UserAPI
- ReferenceAPI, NotificationsAPI, OtherAPI

## Quality
- 92% test coverage
- Full documentation
- UV package manager

## CI/CD
- Gitea Actions (PR checks + release)
- Semantic release
- Coverage threshold 90%
2026-03-29 00:38:09 +00:00

27 lines
603 B
YAML

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.0
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: local
hooks:
- id: commitlint
name: commitlint
entry: commitlint
language: node
additional_dependencies:
- @commitlint/cli
- @commitlint/config-conventional
stages: [commit-msg]
- id: pytest
name: pytest
entry: uv run pytest tests/unit/ -v
language: system
pass_filenames: false
always_run: true
stages: [pre-push]