1
0
forked from 0ad/0ad
0ad/source
Dunedan c3b99feb60
Enable ruff rules for code simplification
This enables ruff rules which check for code which can be simplified to
improve readability.

The additionally rules getting enabled by this are:

- remove unnecessary nesting of if-statements (SIM102)
- use contextlib.suppress() for no-op exception handling (SIM105)
- use enumerate() for counting in loops (SIM113)
- use context managers for opening files (SIM115)
2024-08-29 07:00:43 +02:00
..
collada Enable ruff rules for code simplification 2024-08-29 07:00:43 +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 Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
tools Enable ruff rules for code simplification 2024-08-29 07:00:43 +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