core: Add ruff rule S101 (no assert) (#29267)

Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
This commit is contained in:
Christophe Bornet
2025-01-20 21:24:31 +01:00
committed by GitHub
parent e5d62c6ce7
commit 989eec4b7b
6 changed files with 90 additions and 49 deletions

View File

@@ -45,7 +45,7 @@ python = ">=3.12.4"
[tool.ruff.lint]
select = [ "ASYNC", "B", "C4", "COM", "DJ", "E", "EM", "EXE", "F", "FLY", "FURB", "I", "ICN", "INT", "LOG", "N", "NPY", "PD", "PIE", "Q", "RSE", "S", "SIM", "SLOT", "T10", "T201", "TID", "UP", "W", "YTT",]
ignore = [ "COM812", "UP007", "S101", "S110", "S112",]
ignore = [ "COM812", "UP007", "S110", "S112",]
[tool.coverage.run]
omit = [ "tests/*",]