Skip to content

Commit e7966ca

Browse files
committed
Ignore assert usage ruff's rule for tests
1 parent 774e963 commit e7966ca

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,9 @@ ignore = [
112112
]
113113

114114

115-
[tool.ruff.per-file-ignores]
115+
[tool.ruff.lint.per-file-ignores]
116116
"__init__.py" = ["F401"]
117+
"tests/**.py" = ["S101"]
117118

118119
[tool.ruff.format]
119120
line-ending = "lf"

0 commit comments

Comments
 (0)