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
..
collada Use UTF-8 as encoding when working with files 2024-08-29 07:22:46 +02:00
graphics Remove internationalization of log messages 2024-08-05 15:27:12 +00:00
gui Get a promise when starting a GUIpage 2024-07-08 19:07:04 +00:00
i18n Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
lib Add a RC file to add metadata to the pyrogenesis executable 2024-08-28 23:37:36 +02:00
lobby Check for source of XMPP stanzas 2024-08-13 04:59:38 +00:00
maths Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
mocks Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
network Reduce time needed for STUN 2024-08-23 21:00:15 +02:00
pch Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ps Add a RC file to add metadata to the pyrogenesis executable 2024-08-28 23:37:36 +02:00
renderer Remove internationalization of log messages 2024-08-05 15:27:12 +00:00
rlinterface Shutdown mongoose in rl-interface gracefully 2024-06-23 17:26:03 +00:00
scriptinterface Add final to classes introduced in f9114a87f2 2024-08-25 13:38:09 +02:00
simulation2 Get a promise when starting a GUIpage 2024-07-08 19:07:04 +00:00
soundmanager Don't check memory allocation made using new 2024-01-21 14:29:30 +00:00
third_party Update glad to 2.0.7 2024-09-08 09:31:14 +02:00
tools Enable various ruff rules 2024-09-21 20:54:30 +02:00
main.cpp Don't use std::shared_ptr to store m_ScriptContext and m_ScriptInterface in the CGUIManager 2024-06-27 19:09:30 +00:00
test_setup.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00