schon/.pre-commit-config.yaml
Egor fureunoir Gorbunov 04cba93ebb Features: 1) Add .gitlab-ci.yml with linting, type-checking, and testing stages using uv image; 2) Introduce .pre-commit-config.yaml with Ruff hooks for code quality enforcement;
Fixes: None;

Extra: Remove unused dependencies (`mypy`, `isort`, `celery-stubs`, etc.), update `uv.lock` with dependency changes, and upgrade versions for `debugpy`, `jupyterlab`, and `ruff`.
2025-12-15 20:19:00 +03:00

18 lines
No EOL
529 B
YAML

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9
hooks:
- id: ruff
name: Ruff (lint & fix)
args: ["--fix", "--exit-non-zero-on-fix", "--force-exclude"]
files: "\\.(py|pyi)$"
exclude: "^storefront/"
- id: ruff-format
name: Ruff (format)
files: "\\.(py|pyi)$"
exclude: "^storefront/"
ci:
autofix_commit_msg: "chore(pre-commit): auto-fix issues"
autofix_prs: true
autoupdate_commit_msg: "chore(pre-commit): autoupdate hooks"