Update ruff configuration to ignore test-specific linting rules

Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
Devin AI
2025-05-12 13:36:52 +00:00
parent 46621113af
commit 1860026d61

View File

@@ -29,7 +29,12 @@ ignore = [
]
[lint.per-file-ignores]
"tests/*" = ["S101"] # Allow assert in tests
"tests/*" = [
"S101", # Allow assert in tests
"SLF001", # Allow private member access in tests
"DTZ001", # Allow datetime without tzinfo in tests
"PTH107", # Allow os.remove instead of Path.unlink in tests
]
[lint.isort]
known-first-party = ["crewai"]