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

## Features
- Complete async API client for Kwork.ru (45+ endpoints)
- Pydantic models for all API responses
- Two-step authentication (session cookies + web_auth_token)
- Comprehensive error handling (7 custom exception types)

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

## Quality
- 92% test coverage (46 unit tests)
- 100% docstring coverage
- MkDocs documentation with mkdocstrings
- UV package manager support

## CI/CD
- Gitea Actions workflows (PR checks + release)
- Semantic release for automatic versioning
- Coverage threshold 90%
- Test artifacts and reports
2026-03-29 00:36:28 +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]