godot/editor
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
..
collada SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
doc SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
fileserver SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
icons SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
import SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
plugins SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
translations SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
animation_bezier_editor.cpp Remove unused #if 0'ed code 2020-01-21 21:41:54 +01:00
animation_bezier_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
animation_track_editor.cpp Reverse mouse wheel in animation track editor 2020-05-25 16:38:02 +02:00
animation_track_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
animation_track_editor_plugins.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
animation_track_editor_plugins.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
array_property_edit.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
array_property_edit.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
audio_stream_preview.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
audio_stream_preview.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
code_editor.cpp replace selected text with empty string bug fixed 2020-04-16 11:58:57 +02:00
code_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
connections_dialog.cpp Don't show a copy of the property's name in the inspector's tooltip if there's no description 2020-03-04 12:40:14 +01:00
connections_dialog.h Fixes crash when pressing enter in ConnectDialog with nothing selected 2020-02-18 14:21:01 +01:00
create_dialog.cpp Add fallback icons and make custom ones appear in the recent/favorites list in the "Create New" dialog 2020-06-04 12:16:40 +02:00
create_dialog.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
dependency_editor.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
dependency_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
dictionary_property_edit.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
dictionary_property_edit.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_about.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_about.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_asset_installer.cpp Makes more strings translatable 2020-01-04 13:46:38 +08:00
editor_asset_installer.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_atlas_packer.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_atlas_packer.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_audio_buses.cpp fix audio buses editor not save, close #26683 2020-01-19 10:56:00 +08:00
editor_audio_buses.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_autoload_settings.cpp Improved warning shown when autoload cannot be added. 2020-06-04 12:16:39 +02:00
editor_autoload_settings.h Improve the AutoLoad editor UX 2020-02-14 15:52:50 +01:00
editor_builders.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
editor_data.cpp Implement undo-redo feature for Parameter Paste in the Inspector 2020-03-04 12:40:15 +01:00
editor_data.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_dir_dialog.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_dir_dialog.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_export.cpp Implementation of the Godot Android Plugin configuration file 2020-05-16 23:09:45 -07:00
editor_export.h Implementation of the Godot Android Plugin configuration file 2020-05-16 23:09:45 -07:00
editor_feature_profile.cpp Add ignoring of disabled recent and favorite classes in create 2020-01-09 08:17:06 +01:00
editor_feature_profile.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_file_dialog.cpp Fixes leak with drives [3.2] 2020-04-12 14:05:47 +02:00
editor_file_dialog.h Improve UX of drive letters 2020-03-17 14:48:54 +01:00
editor_file_system.cpp Make file system scan more robust 2020-02-14 16:05:36 +01:00
editor_file_system.h Make file system scan more robust 2020-02-14 16:05:36 +01:00
editor_folding.cpp Fix EditorFolding crash when switching scenes 2020-03-06 23:51:26 +01:00
editor_folding.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_fonts.cpp Add rotation widget to 3D viewport 2020-03-09 09:40:10 +01:00
editor_fonts.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_help.cpp Improved go-to definition (Ctrl + Click) 2020-05-11 09:33:21 +05:30
editor_help.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_help_search.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_help_search.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_inspector.cpp Stopped trying to revert to default values when script implementation of property_can_revert exists 2020-05-06 23:29:08 +02:00
editor_inspector.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_layouts_dialog.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_layouts_dialog.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_log.cpp Tweak the editor log selection color to match the current editor theme 2020-05-11 11:39:35 +02:00
editor_log.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_network_profiler.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_network_profiler.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_node.cpp Tweak the invalid preset error message to mention export_presets.cfg 2020-06-10 15:30:52 +02:00
editor_node.h Add a getter and property for the editor distraction-free mode 2020-06-04 12:16:39 +02:00
editor_path.cpp Clip text in EditorPath button to avoid dock size changes 2020-01-20 14:25:27 -03:00
editor_path.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_plugin.cpp Add a getter and property for the editor distraction-free mode 2020-06-04 12:16:39 +02:00
editor_plugin.h Add a getter and property for the editor distraction-free mode 2020-06-04 12:16:39 +02:00
editor_plugin_settings.cpp Use checkbox for plugin status instead of option list 2020-03-25 09:38:53 +01:00
editor_plugin_settings.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_profiler.cpp Use the editor background color for the profiler graph 2020-02-06 13:02:08 +01:00
editor_profiler.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_properties.cpp Add visual feedback when hovering layer checkboxes in the Inspector 2020-06-10 15:30:51 +02:00
editor_properties.h Use int64_t for EditorPropertyInteger and warn when out of double range 2020-01-15 23:39:49 -05:00
editor_properties_array_dict.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_properties_array_dict.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_resource_preview.cpp Export: Properly disable resource preview thread 2020-01-14 11:34:02 +01:00
editor_resource_preview.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_run.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_run.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_run_native.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_run_native.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_run_script.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_run_script.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_scale.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_scale.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_sectioned_inspector.cpp Improved search in settings dialogs 2020-02-14 15:51:37 +01:00
editor_sectioned_inspector.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_settings.cpp Add editor freelook navigation scheme settings 2020-04-27 10:12:55 +02:00
editor_settings.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_spin_slider.cpp Hide editor_spin_slider grabber when closing Editor's windows 2020-05-16 00:08:37 +02:00
editor_spin_slider.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_sub_scene.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_sub_scene.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_themes.cpp Added missing LinkButton colors in Editor Theme 2020-04-16 12:47:18 +02:00
editor_themes.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_vcs_interface.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_vcs_interface.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
export_template_manager.cpp Re-architecture of the Godot Android plugin. 2020-03-09 10:30:02 +01:00
export_template_manager.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
filesystem_dock.cpp Expose FileSystemDock to the scripting API and fixed signals 2020-03-18 17:57:45 +01:00
filesystem_dock.h Expose FileSystemDock to the scripting API and fixed signals 2020-03-18 17:57:45 +01:00
find_in_files.cpp Add a button to quickly repeat last search in files 2020-03-04 09:52:55 +01:00
find_in_files.h Add a button to quickly repeat last search in files 2020-03-04 09:52:55 +01:00
groups_editor.cpp Fixes add group in Group Editor dialog 2020-02-14 15:58:36 +01:00
groups_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
import_dock.cpp check the params section exist before erasing it in import_dock 2020-05-25 16:32:05 +02:00
import_dock.h Fix multiple issues with the "Import" dock 2020-02-18 14:18:09 +01:00
inspector_dock.cpp Implement undo-redo feature for Parameter Paste in the Inspector 2020-03-04 12:40:15 +01:00
inspector_dock.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
multi_node_edit.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
multi_node_edit.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
node_dock.cpp Clip text in NodeDock toolbuttons to prevent dock size changes 2020-01-21 10:23:09 +01:00
node_dock.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
pane_drag.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
pane_drag.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
plugin_config_dialog.cpp Make script made via plugin creation obey syntax settings 2020-01-21 02:05:56 -03:00
plugin_config_dialog.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
progress_dialog.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
progress_dialog.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
project_export.cpp Implementation of the Godot Android Plugin configuration file 2020-05-16 23:09:45 -07:00
project_export.h Implementation of the Godot Android Plugin configuration file 2020-05-16 23:09:45 -07:00
project_manager.cpp Grabbing focus on ProjectList after clicking an item. 2020-06-04 12:09:40 +02:00
project_manager.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
project_settings_editor.cpp prevent joypad button input dropdown going out of dialog 2020-03-25 11:38:53 +01:00
project_settings_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
property_editor.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
property_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
property_selector.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
property_selector.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
pvrtc_compress.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
pvrtc_compress.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
quick_open.cpp Make Quick Open substring match more specific. 2020-05-01 10:56:57 +02:00
quick_open.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
register_exporters.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
rename_dialog.cpp Improve the batch rename dialog 2020-02-14 15:54:22 +01:00
rename_dialog.h Improve the batch rename dialog 2020-02-14 15:54:22 +01:00
reparent_dialog.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
reparent_dialog.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
run_settings_dialog.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
run_settings_dialog.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
scene_tree_dock.cpp Fix scene tree showing up when the root selection is present 2020-06-10 15:30:52 +02:00
scene_tree_dock.h Rename the Clear Script editor action to Detach Script 2020-05-11 11:38:22 +02:00
scene_tree_editor.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
scene_tree_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
script_create_dialog.cpp Make sure built-in script warning fits in dialog 2020-06-05 14:40:08 +02:00
script_create_dialog.h Warn about built-in script limitations in the script creation dialog 2020-04-16 12:47:18 +02:00
script_editor_debugger.cpp Fix dialog spam when inspecting MeshInstance from model file 2020-06-10 15:30:51 +02:00
script_editor_debugger.h Fix dialog spam when inspecting MeshInstance from model file 2020-06-10 15:30:51 +02:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
settings_config_dialog.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
settings_config_dialog.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
spatial_editor_gizmos.cpp Merge pull request #37863 from ExpiredPopsicle/culling5 2020-04-30 08:05:11 +02:00
spatial_editor_gizmos.h Update Joint gizmos automatically 2020-04-23 11:07:32 +02:00