Skip to content

Commit ca23438

Browse files
Disable basedpyright rule reportUnusedFunction only for tests
1 parent 5962b6d commit ca23438

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,12 @@ reportUnnecessaryComparison = false
228228
reportUnnecessaryIsInstance = false
229229
reportUnnecessaryTypeIgnoreComment = false
230230
reportUnreachable = false
231-
reportUnusedFunction = false
232231
reportUnusedCallResult = false
233232
reportUnusedParameter = false
234233

234+
[[tool.basedpyright.executionEnvironments]]
235+
root = "tests"
236+
reportUnusedFunction = false
237+
235238
[tool.sync-with-uv.repo-to-package]
236239
"https://github.com/astral-sh/uv-pre-commit" = "uv"

0 commit comments

Comments
 (0)