virtualx-engine/core/io
Rémi Verschelde 7bf9787921 SCons: Format buildsystem files with psf/black
Configured for a max line length of 120 characters.

psf/black is very opinionated and purposely doesn't leave much room for
configuration. The output is mostly OK so that should be fine for us,
but some things worth noting:

- Manually wrapped strings will be reflowed, so by using a line length
  of 120 for the sake of preserving readability for our long command
  calls, it also means that some manually wrapped strings are back on
  the same line and should be manually merged again.

- Code generators using string concatenation extensively look awful,
  since black puts each operand on a single line. We need to refactor
  these generators to use more pythonic string formatting, for which
  many options are available (`%`, `format` or f-strings).

- CI checks and a pre-commit hook will be added to ensure that future
  buildsystem changes are well-formatted.

(cherry picked from commit cd4e46ee65)
2020-06-10 15:30:52 +02:00
..
compression.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
compression.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
config_file.cpp ConfigFile: Improve error messages and complete docs 2020-03-06 23:51:26 +01:00
config_file.h ConfigFile: Improve error messages and complete docs 2020-03-06 23:51:26 +01:00
dtls_server.cpp Fix editor crash when mbedtls is disabled. 2020-06-10 15:30:51 +02:00
dtls_server.h New PacketPeerDTLS and DTLSServer classes. 2020-02-25 11:35:47 +01:00
file_access_buffered.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
file_access_buffered.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
file_access_buffered_fa.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
file_access_compressed.cpp Fixes crash when resource file is corrupted 2020-02-14 16:07:41 +01:00
file_access_compressed.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
file_access_encrypted.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
file_access_encrypted.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
file_access_memory.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
file_access_memory.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
file_access_network.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
file_access_network.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
file_access_pack.cpp Revert "Made possible to specify where to dump the contents when loading a ".pck" file" 2020-04-20 13:48:02 +02:00
file_access_pack.h Revert "Made possible to specify where to dump the contents when loading a ".pck" file" 2020-04-20 13:48:02 +02:00
file_access_zip.cpp Revert "Made possible to specify where to dump the contents when loading a ".pck" file" 2020-04-20 13:48:02 +02:00
file_access_zip.h Revert "Made possible to specify where to dump the contents when loading a ".pck" file" 2020-04-20 13:48:02 +02:00
http_client.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
http_client.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
image_loader.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
image_loader.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
ip.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
ip.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
ip_address.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
ip_address.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
json.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
json.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
logger.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
logger.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
marshalls.cpp GDScript: Validate object instance on is operation 2020-01-09 13:59:33 -03:00
marshalls.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
multiplayer_api.cpp Fix MultiplayerAPI crash when peer impl misbehave. 2020-01-21 20:46:32 +01:00
multiplayer_api.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
net_socket.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
net_socket.h Add peek option to NetSocket recv_from. 2020-02-25 11:26:34 +01:00
networked_multiplayer_peer.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
networked_multiplayer_peer.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
packet_peer.cpp PacketPeer use heap buffer for var encoding. 2020-01-19 11:49:10 +01:00
packet_peer.h PacketPeer use heap buffer for var encoding. 2020-01-19 11:49:10 +01:00
packet_peer_dtls.cpp Fix editor crash when mbedtls is disabled. 2020-06-10 15:30:51 +02:00
packet_peer_dtls.h New PacketPeerDTLS and DTLSServer classes. 2020-02-25 11:35:47 +01:00
packet_peer_udp.cpp UDPServer and PacketPeerUDP connect_to_host. 2020-02-25 11:35:47 +01:00
packet_peer_udp.h UDPServer and PacketPeerUDP connect_to_host. 2020-02-25 11:35:47 +01:00
pck_packer.cpp Fix potential divisions by 0 reported by MSVC 2020-03-25 11:38:54 +01:00
pck_packer.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
resource_format_binary.cpp Fixes crash when resource file is corrupted 2020-02-14 16:07:41 +01:00
resource_format_binary.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
resource_importer.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
resource_importer.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
resource_loader.cpp Check if resource exists before loading 2020-01-08 15:24:43 +01:00
resource_loader.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
resource_saver.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
resource_saver.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
stream_peer.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
stream_peer.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
stream_peer_ssl.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
stream_peer_ssl.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
stream_peer_tcp.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
stream_peer_tcp.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
tcp_server.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
tcp_server.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
translation_loader_po.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
translation_loader_po.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
udp_server.cpp UDPServer and PacketPeerUDP connect_to_host. 2020-02-25 11:35:47 +01:00
udp_server.h UDPServer and PacketPeerUDP connect_to_host. 2020-02-25 11:35:47 +01:00
xml_parser.cpp Fixes XMLParser leak when open multiple times 2020-01-20 11:29:14 +08:00
xml_parser.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
zip_io.cpp Fixes leak when importing zip in AssetLib 2020-01-22 09:34:18 +08:00
zip_io.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00