From 1860026d6140fff2ff26c1dab003900ffb913e09 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Mon, 12 May 2025 13:36:52 +0000 Subject: [PATCH] Update ruff configuration to ignore test-specific linting rules Co-Authored-By: Joe Moura --- .ruff.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.ruff.toml b/.ruff.toml index 60126803c..22488040d 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -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"]