godot/scene/2d
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
..
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
animated_sprite.cpp Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
animated_sprite.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
area_2d.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
area_2d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
audio_stream_player_2d.cpp Fix volume interpolation in positional audio nodes 2020-04-16 11:43:58 +02:00
audio_stream_player_2d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
back_buffer_copy.cpp Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
back_buffer_copy.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
camera_2d.cpp Fix inverted use of Camera2D.offset_v 2020-03-04 09:50:21 +01:00
camera_2d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
canvas_item.cpp Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
canvas_item.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
canvas_modulate.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
canvas_modulate.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_object_2d.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_object_2d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_polygon_2d.cpp Fix C4724: potential mod by 0 warnings. 2020-05-21 11:28:01 +01:00
collision_polygon_2d.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
collision_shape_2d.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_shape_2d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
cpu_particles_2d.cpp Fix uninitialized memory in CPUParticles2D 2020-05-01 13:49:53 +01:00
cpu_particles_2d.h Fix uninitialized memory in CPUParticles2D 2020-05-01 13:49:53 +01:00
joints_2d.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
joints_2d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
light_2d.cpp Control/Light2D: Preventing setting 0 as scale as for Node2D 2020-01-13 12:20:15 +01:00
light_2d.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
light_occluder_2d.cpp Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
light_occluder_2d.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
line_2d.cpp Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
line_2d.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
line_builder.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
line_builder.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
mesh_instance_2d.cpp Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
mesh_instance_2d.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
multimesh_instance_2d.cpp Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
multimesh_instance_2d.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
navigation_2d.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
navigation_2d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
navigation_polygon.cpp Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
navigation_polygon.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
node_2d.cpp Implement Skew in Node2D 2020-05-04 16:10:22 +02:00
node_2d.h Implement Skew in Node2D 2020-05-04 16:10:22 +02:00
parallax_background.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
parallax_background.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
parallax_layer.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
parallax_layer.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
particles_2d.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
particles_2d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
path_2d.cpp Handle huge offset values in Path2D and Path3D set_offset 2020-04-16 11:45:40 +02:00
path_2d.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
physics_body_2d.cpp Fixes get_floor_normal() returning the user defined floor_normal. 2020-01-15 10:13:35 +01:00
physics_body_2d.h Added function to expose floor normal, useful to correctly calculate player velocity. 2020-01-10 14:58:19 +01:00
polygon_2d.cpp Remove unused #if 0'ed code 2020-01-21 21:41:54 +01:00
polygon_2d.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
position_2d.cpp Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
position_2d.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
ray_cast_2d.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
ray_cast_2d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
remote_transform_2d.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
remote_transform_2d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
skeleton_2d.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
skeleton_2d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
sprite.cpp Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
sprite.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
tile_map.cpp Fix performance issue in update_bitmask_region fallback 2020-05-04 16:10:22 +02:00
tile_map.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
touch_screen_button.cpp GUI: Touch screen button click area now is synced with its draw 2020-05-07 11:04:59 -03:00
touch_screen_button.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
visibility_notifier_2d.cpp Fix VisibilityEnabler2D behavior on start 2020-05-11 10:33:38 +02:00
visibility_notifier_2d.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
y_sort.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
y_sort.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00