1
0
forked from mirrors/0ad
Files
0ad/source
Dunedan 0ea6d32fa5 Enable various ruff rules
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)
2024-09-21 20:54:30 +02:00
..
2024-08-13 04:59:38 +00:00
2024-08-23 21:00:15 +02:00
2024-09-08 09:31:14 +02:00
2024-09-21 20:54:30 +02:00