repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit
Loading actions...
Skill content
Main instructions and any bundled files for this skill.
repos:
-
repo: https://github.com/charliermarsh/ruff-pre-commit rev: v0.1.3 hooks:
- id: ruff name: ruff args: [--fix, --select=I, pandasai, examples, tests]
- id: ruff-format name: ruff-format
-
repo: https://github.com/python-poetry/poetry rev: 2.0.1 hooks:
- id: poetry-check # Ensures your
pyproject.tomlis valid - id: poetry-lock # Ensures the
poetry.lockfile is in sync withpyproject.toml
- id: poetry-check # Ensures your
-
repo: local hooks:
-
id: install-deps name: install-deps entry: make install_deps install_extension_deps language: system pass_filenames: false always_run: true stages: [commit]
-
id: pytest-check name: pytest-check entry: make test_all language: system pass_filenames: false always_run: true stages: [commit]
-
-
repo: https://github.com/sourcery-ai/sourcery rev: v1.11.0 hooks:
- id: sourcery
The best way to use Sourcery in a pre-commit hook:
* review only changed lines:
* omit the summary
args: [--diff=git diff HEAD, --no-summary]
- id: sourcery
Related Skills
Frontend Typescript Linting.mdc
TypeScript and ESLint rules that MUST be followed when creating, modifying, or reviewing any file under apps/frontend/, including .ts, .tsx, .js, and .jsx files. Also apply when discussing frontend li...
2. Apply Deepthink Protocol (reason about dependencies
risks