mirror of
https://github.com/crewAIInc/crewAI.git
synced 2025-12-13 02:48:30 +00:00
Some checks failed
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Build uv cache / build-cache (3.10) (push) Has been cancelled
Build uv cache / build-cache (3.11) (push) Has been cancelled
Build uv cache / build-cache (3.12) (push) Has been cancelled
Build uv cache / build-cache (3.13) (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
28 lines
901 B
YAML
28 lines
901 B
YAML
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: ruff
|
|
name: ruff
|
|
entry: bash -c 'source .venv/bin/activate && uv run ruff check --config pyproject.toml "$@"' --
|
|
language: system
|
|
pass_filenames: true
|
|
types: [python]
|
|
- id: ruff-format
|
|
name: ruff-format
|
|
entry: bash -c 'source .venv/bin/activate && uv run ruff format --config pyproject.toml "$@"' --
|
|
language: system
|
|
pass_filenames: true
|
|
types: [python]
|
|
- id: mypy
|
|
name: mypy
|
|
entry: bash -c 'source .venv/bin/activate && uv run mypy --config-file pyproject.toml "$@"' --
|
|
language: system
|
|
pass_filenames: true
|
|
types: [python]
|
|
exclude: ^(lib/crewai/src/crewai/cli/templates/|lib/crewai/tests/|lib/crewai-tools/tests/)
|
|
- repo: https://github.com/astral-sh/uv-pre-commit
|
|
rev: 0.9.3
|
|
hooks:
|
|
- id: uv-lock
|
|
|