mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-26 08:38:15 +00:00
chore: remove lib/crewai exclusion from pre-commit hooks
This commit is contained in:
@@ -4,18 +4,22 @@ repos:
|
|||||||
- id: ruff
|
- id: ruff
|
||||||
name: ruff
|
name: ruff
|
||||||
entry: uv run ruff check
|
entry: uv run ruff check
|
||||||
|
args: ["--config", "pyproject.toml", "."]
|
||||||
language: system
|
language: system
|
||||||
|
pass_filenames: false
|
||||||
types: [python]
|
types: [python]
|
||||||
exclude: ^lib/crewai/
|
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
name: ruff-format
|
name: ruff-format
|
||||||
entry: uv run ruff format
|
entry: uv run ruff format
|
||||||
|
args: ["--config", "pyproject.toml", "."]
|
||||||
language: system
|
language: system
|
||||||
|
pass_filenames: false
|
||||||
types: [python]
|
types: [python]
|
||||||
exclude: ^lib/crewai/
|
|
||||||
- id: mypy
|
- id: mypy
|
||||||
name: mypy
|
name: mypy
|
||||||
entry: uv run mypy
|
entry: uv run mypy
|
||||||
|
args: ["--config-file", "pyproject.toml", "."]
|
||||||
language: system
|
language: system
|
||||||
|
pass_filenames: false
|
||||||
types: [python]
|
types: [python]
|
||||||
exclude: ^lib/crewai/
|
|
||||||
|
|||||||
@@ -30,7 +30,8 @@ dev = [
|
|||||||
|
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
exclude = [
|
src = ["lib/*"]
|
||||||
|
extend-exclude = [
|
||||||
"lib/crewai/src/crewai/cli/templates",
|
"lib/crewai/src/crewai/cli/templates",
|
||||||
"lib/crewai/tests/",
|
"lib/crewai/tests/",
|
||||||
"lib/crewai-tools/tests/",
|
"lib/crewai-tools/tests/",
|
||||||
|
|||||||
Reference in New Issue
Block a user