mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-19 16:36:35 +00:00
0ea6d32fa5
This commit enables a bunch of unrelated ruff rules, which only require minimal changes to the code base to enable them. The rules enabled by this commit are: - check the use of datetime objects without timezone (DTZ005) - check the performance of try-except in loops (PERF203) - check the number of function arguments (PLR0913) - check for mutable class defaults (RUF012) - check for the use of secure hashing algorithms (S324) - check for raising base exceptions (TRY002) - check for raising other exceptions where TypeErrors should be raised (TRY004)
i18n helper
This is a collection of scripts to automate 0 A.D.'s i18n process.
See maintenanceTasks.sh for the full process.
Run tests
pip3 install pytest
python3 -m pytest