godot/core
Rémi Verschelde cd4e46ee65 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.
2020-03-30 09:05:53 +02:00
..
bind SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
crypto SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
debugger SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
input SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
io SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
math SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
os SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
array.cpp
array.h
callable_method_pointer.cpp
callable_method_pointer.h
callable.cpp Fix C# bindings after recent breaking changes 2020-03-17 16:30:04 +01:00
callable.h Fix C# bindings after recent breaking changes 2020-03-17 16:30:04 +01:00
class_db.cpp Style: Set clang-format Standard to Cpp11 2020-03-17 07:36:24 +01:00
class_db.h Style: Set clang-format Standard to Cpp11 2020-03-17 07:36:24 +01:00
color_names.inc
color.cpp
color.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
command_queue_mt.cpp
command_queue_mt.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
compressed_translation.cpp Style: Set clang-format Standard to Cpp11 2020-03-17 07:36:24 +01:00
compressed_translation.h
core_builders.py SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
core_string_names.cpp
core_string_names.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
cowdata.h Ensure COWData does not reallocate on push back, fixes #22561 2020-03-27 21:52:42 -03:00
dictionary.cpp
dictionary.h
engine.cpp
engine.h
error_list.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
error_macros.cpp
error_macros.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
func_ref.cpp
func_ref.h
global_constants.cpp Refactored Input, create DisplayServer and DisplayServerX11 2020-03-26 15:49:32 +01:00
global_constants.h
hash_map.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
hashfuncs.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
image.cpp Fix some -Wmaybe-uninitialized warnings 2020-03-27 14:33:06 +01:00
image.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
int_types.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
list.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
make_binders.py SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
map.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
message_queue.cpp Tweak the message queue maximum size property hint 2020-03-24 15:05:07 +01:00
message_queue.h
method_bind.cpp
method_bind.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
method_ptrcall.h Refactored Input, create DisplayServer and DisplayServerX11 2020-03-26 15:49:32 +01:00
node_path.cpp
node_path.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
oa_hash_map.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
object_id.h
object.cpp Added has_signal method for Object 2020-03-23 11:27:17 +01:00
object.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
ordered_hash_map.h Style: Set clang-format Standard to Cpp11 2020-03-17 07:36:24 +01:00
packed_data_container.cpp
packed_data_container.h
pair.h
path_remap.cpp
path_remap.h
pool_allocator.cpp
pool_allocator.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
print_string.cpp
print_string.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
project_settings.cpp Style: Set clang-format Standard to Cpp11 2020-03-17 07:36:24 +01:00
project_settings.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
reference.cpp
reference.h Style: Set clang-format Standard to Cpp11 2020-03-17 07:36:24 +01:00
register_core_types.cpp Refactored input, goes all via windows now. 2020-03-26 15:49:39 +01:00
register_core_types.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
resource.cpp Style: Set clang-format Standard to Cpp11 2020-03-17 07:36:24 +01:00
resource.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
rid_owner.cpp
rid_owner.h
rid.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
ring_buffer.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
safe_refcount.cpp
safe_refcount.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
script_language.cpp Style: Set clang-format Standard to Cpp11 2020-03-17 07:36:24 +01:00
script_language.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
self_list.h
set.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
simple_type.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
sort_array.h
spin_lock.h
string_buffer.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
string_builder.cpp
string_builder.h
string_name.cpp
string_name.h
thread_work_pool.cpp
thread_work_pool.h
translation.cpp i18n: Add support for translating the class reference 2020-03-20 08:48:11 +01:00
translation.h i18n: Add support for translating the class reference 2020-03-20 08:48:11 +01:00
type_info.h Refactored Input, create DisplayServer and DisplayServerX11 2020-03-26 15:49:32 +01:00
typedefs.h typedefs: Cleanup unused macros and unnecessary checks 2020-03-11 21:44:56 +01:00
ucaps.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
undo_redo.cpp
undo_redo.h
ustring.cpp i18n: Add support for translating the class reference 2020-03-20 08:48:11 +01:00
ustring.h i18n: Add support for translating the class reference 2020-03-20 08:48:11 +01:00
variant_call.cpp Merge pull request #36896 from kuruk-mm/doc_return_variant_2 2020-03-16 19:55:07 +01:00
variant_op.cpp
variant_parser.cpp Refactored Input, create DisplayServer and DisplayServerX11 2020-03-26 15:49:32 +01:00
variant_parser.h
variant.cpp Style: Set clang-format Standard to Cpp11 2020-03-17 07:36:24 +01:00
variant.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
vector.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
version.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
vmap.h
vset.h