mirror of
https://github.com/crewAIInc/crewAI.git
synced 2025-12-16 04:18:35 +00:00
chore: remove lib/crewai exclusion from pre-commit hooks
This commit is contained in:
@@ -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/
|
||||
|
||||
|
||||
@@ -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/",
|
||||
|
||||
Reference in New Issue
Block a user