Features: - Full async API client for Kwork.ru - Pydantic models for type-safe responses - Comprehensive error handling - 93% test coverage CI/CD: - Parallel workflow jobs (lint, test, security) - Ruff for linting and formatting - MyPy for static type checking - pip-audit for security scanning - Pre-commit hooks for code quality
27 lines
603 B
YAML
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]
|