test: Enable ruff E713 lint

This commit is contained in:
MarcoFalke committed 2025-12-26 08:19:34 +01:00
1 parent 315fdb4066
commit fab300b378
10 files changed
+18 -17

No files matched your search

+1
View File
@@ -307,6 +307,7 @@ fn lint_py_lint() -> LintResult {
"E702", // multiple statements on one line (semicolon)
"E703", // statement ends with a semicolon
"E711", // comparison to None should be 'if cond is None:'
"E713", // test for membership should be "not in"
"E714", // test for object identity should be "is not"
"E721", // do not compare types, use "isinstance()"
"E722", // do not use bare 'except'