godot/modules/gdscript
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
..
doc_classes DocData: Skip unexposed classes 2020-04-21 14:15:34 +02:00
editor Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
icons Add support for creating editor icons per module 2019-06-28 23:42:26 +03:00
language_server GDScript LSP: Fix crash in notify_client 2020-06-10 15:30:52 +02:00
config.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
gdscript.cpp fixed: saving gdscript with cyclic inheritance crash the editor 2020-05-11 10:50:45 +02:00
gdscript.h fixed: saving gdscript with cyclic inheritance crash the editor 2020-05-11 10:50:45 +02:00
gdscript_compiler.cpp Keep a weak reference to orphan subclasses to reuse on class reload 2020-01-15 22:54:01 +02:00
gdscript_compiler.h GDScript: Don't re-evaluate index on assigment with operation 2020-01-09 10:43:29 -03:00
gdscript_editor.cpp regression: dictionary key no autocomplete fix 2020-05-25 15:58:25 +02:00
gdscript_function.cpp GDScript: Fix assert message when no custom message is set 2020-06-04 12:09:39 +02:00
gdscript_function.h Fix object leaks caused by unfulfilled yields 2020-05-05 17:53:47 +02:00
gdscript_functions.cpp fix: dict2inst crash when constructor has arguments 2020-05-11 11:01:12 +02:00
gdscript_functions.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
gdscript_parser.cpp Tweak the GDScript error message about passed argument type mismatch 2020-06-05 12:50:55 +02:00
gdscript_parser.h break, continue outside of a loop, match statement handled 2020-05-16 00:08:37 +02:00
gdscript_tokenizer.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
gdscript_tokenizer.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
register_types.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
register_types.h Adding missing include guards to header files identified by LGTM. 2020-03-25 11:38:54 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00