mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 16:18:30 +00:00
Update ruff configuration to ignore test-specific linting rules
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user