0ad/source/tools/xmlvalidator
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
..
validate_grammar.py Enable ruff rules to check for ambiguous code 2024-08-27 19:28:11 +02:00
validate.pl Fix checkrefs following D11 / 1c9efa6fb5 2021-03-06 13:57:11 +00:00
validator.py Enable ruff rules to check for ambiguous code 2024-08-27 19:28:11 +02:00