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.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
arvr | Loading commit data... | |
audio | Loading commit data... | |
camera | Loading commit data... | |
physics_2d | Loading commit data... | |
physics_3d | Loading commit data... | |
rendering | Loading commit data... | |
SCsub | Loading commit data... | |
arvr_server.cpp | Loading commit data... | |
arvr_server.h | Loading commit data... | |
audio_server.cpp | Loading commit data... | |
audio_server.h | Loading commit data... | |
camera_server.cpp | Loading commit data... | |
camera_server.h | Loading commit data... | |
display_server.cpp | Loading commit data... | |
display_server.h | Loading commit data... | |
navigation_server_2d.cpp | Loading commit data... | |
navigation_server_2d.h | Loading commit data... | |
navigation_server_3d.cpp | Loading commit data... | |
navigation_server_3d.h | Loading commit data... | |
physics_server_2d.cpp | Loading commit data... | |
physics_server_2d.h | Loading commit data... | |
physics_server_3d.cpp | Loading commit data... | |
physics_server_3d.h | Loading commit data... | |
register_server_types.cpp | Loading commit data... | |
register_server_types.h | Loading commit data... | |
rendering_server.cpp | Loading commit data... | |
rendering_server.h | Loading commit data... | |
server_wrap_mt_common.h | Loading commit data... |