Salam Language: The inaugural coding language for Persian and Arabic speakers, inspired by the word salam meaning peace. With a user-friendly approach, it provides an accessible coding experience, promoting collaboration and simplicity for local developers.
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).
------