chore: remove lib/crewai exclusion from pre-commit hooks

This commit is contained in:
Greyson LaLonde
2025-10-18 14:07:16 -04:00
committed by GitHub
parent b680065c45
commit d7ac90c9e2
2 changed files with 9 additions and 4 deletions

View File

@@ -4,18 +4,22 @@ repos:
- id: ruff
name: ruff
entry: uv run ruff check
args: ["--config", "pyproject.toml", "."]
language: system
pass_filenames: false
types: [python]
exclude: ^lib/crewai/
- id: ruff-format
name: ruff-format
entry: uv run ruff format
args: ["--config", "pyproject.toml", "."]
language: system
pass_filenames: false
types: [python]
exclude: ^lib/crewai/
- id: mypy
name: mypy
entry: uv run mypy
args: ["--config-file", "pyproject.toml", "."]
language: system
pass_filenames: false
types: [python]
exclude: ^lib/crewai/

View File

@@ -30,7 +30,8 @@ dev = [
[tool.ruff]
exclude = [
src = ["lib/*"]
extend-exclude = [
"lib/crewai/src/crewai/cli/templates",
"lib/crewai/tests/",
"lib/crewai-tools/tests/",