0ad/source/tools/rlclient/python/zero_ad
Dunedan ea647067f0
Enable ruff rules to check for ambiguous code
This enables some ruff rules to check for ambiguous and dead Python
code, which might cause unintended side-effects.

The enabled rules are:

- a bunch of rules related to shadowing of builtin structures (A)
- a bunch of rules checking for unused arguments (ARG)
- a rule checking for useless expressions (B018)
- a rule checking for unbound loop variables (B023)
- a rule checking redefined function parameters (PLR1704)
2024-08-27 19:28:11 +02:00
..
__init__.py Enable additional ruff rules 2024-08-25 06:29:39 +02:00
actions.py Lint and format Python files using ruff 2024-08-24 10:54:26 +02:00
api.py Enable additional ruff rules 2024-08-25 06:29:39 +02:00
environment.py Enable ruff rules to check for ambiguous code 2024-08-27 19:28:11 +02:00