From 7215f3e0a74cdb5a595e4fe4b334531c4e23cbe8 Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Fri, 22 Apr 2022 15:42:36 +0300 Subject: [PATCH] Fix formatting No linter erros fixed yet --- addons/gdgifexporter/gif-lzw/lzw.gd | 5 +++-- src/Tools/Bucket.gd | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/addons/gdgifexporter/gif-lzw/lzw.gd b/addons/gdgifexporter/gif-lzw/lzw.gd index 9140e7cb7..9436a857f 100644 --- a/addons/gdgifexporter/gif-lzw/lzw.gd +++ b/addons/gdgifexporter/gif-lzw/lzw.gd @@ -147,8 +147,9 @@ func compress_lzw(image: PoolByteArray, colors: PoolByteArray) -> Array: return [binary_code_stream.pack(), min_code_size] -# gdlint: ignore=max-line-length -func decompress_lzw(code_stream_data: PoolByteArray, min_code_size: int, colors: PoolByteArray) -> PoolByteArray: +func decompress_lzw( + code_stream_data: PoolByteArray, min_code_size: int, colors: PoolByteArray +) -> PoolByteArray: var code_table: CodeTable = initialize_color_code_table(colors) var index_stream: PoolByteArray = PoolByteArray([]) var binary_code_stream = lsbbitunpacker.LSBLZWBitUnpacker.new(code_stream_data) diff --git a/src/Tools/Bucket.gd b/src/Tools/Bucket.gd index b6a320a6c..40c905a4f 100644 --- a/src/Tools/Bucket.gd +++ b/src/Tools/Bucket.gd @@ -248,8 +248,9 @@ func _add_new_segment(y: int = 0) -> void: # fill an horizontal segment around the specifid position, and adds it to the # list of segments filled. Returns the first x coordinate after the part of the # line that has been filled. -# gdlint: ignore=max-line-length -func _flood_line_around_point(position: Vector2, project: Project, image: Image, src_color: Color) -> int: +func _flood_line_around_point( + position: Vector2, project: Project, image: Image, src_color: Color +) -> int: # this method is called by `_my_flood_fill` after the required data structures # have been initialized if not image.get_pixelv(position).is_equal_approx(src_color):