You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-11-18 01:21:53 [INFO] Linting PYTHON_RUFF items...
Error: -18 01:21:53 [ERROR] Found errors when linting PYTHON_RUFF. Exit code: 1.
2024-11-18 01:21:53 [INFO] Command output for PYTHON_RUFF:
------
config/layout/type.validate.py:22:16: E712 Avoid inequality comparisons to `True`; use `if not item["is_mother"]:` for false checks
|
21 | if "is_mother" in item:
22 | if item["is_mother"] != True and item["is_mother"] != False:
| ^^^^^^^^^^^^^^^^^^^^^^^^^ E712
23 | print(item)
24 | error("is_mother is invalid in an item")
|
= help: Replace with `not item["is_mother"]`
config/layout/type.validate.py:22:46: E712 Avoid inequality comparisons to `False`; use `if item["is_mother"]:` for truth checks
|
21 | if "is_mother" in item:
22 | if item["is_mother"] != True and item["is_mother"] != False:
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ E712
23 | print(item)
24 | error("is_mother is invalid in an item")
|
= help: Replace with `item["is_mother"]`
Found 2 errors.
No fixes available (2 hidden fixes can be enabled with the `--unsafe-fixes` option).
------
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: