fix: ignore expected security warnings in subprocess_utils.py

- Add per-file-ignores for S602/S603 in subprocess_utils.py
- These warnings are expected for Windows shell=True compatibility fix
- Resolves remaining CI lint failures for Windows subprocess fix

Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
Devin AI
2025-09-16 18:03:19 +00:00
parent 870955b4e9
commit 05913a4e5c

View File

@@ -135,6 +135,7 @@ ignore = ["E501"] # ignore line too long
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["S101"] # Allow assert statements in tests
"src/crewai/cli/subprocess_utils.py" = ["S602", "S603"] # Allow shell=True for Windows compatibility
[tool.mypy]
exclude = ["src/crewai/cli/templates", "tests"]