[Tarantool-patches] [PATCH luajit 09/15] test: fix E303 errors by pycodestyle

Sergey Bronnikov sergeyb at tarantool.org
Thu Aug 3 17:28:44 MSK 2023


LGTM

On 8/3/23 10:30, Igor Munkin wrote:
> Fixed the only occurrence of E303 ("too many blank lines (2)") and two
> occurrences of E303 ("too many blank lines (3)") errors reported by
> pycodestyle[1].
>
> [1]: https://www.flake8rules.com/rules/E303.html
>
> Signed-off-by: Igor Munkin <imun at tarantool.org>
> ---
>   src/luajit_lldb.py | 3 ---
>   1 file changed, 3 deletions(-)
>
> diff --git a/src/luajit_lldb.py b/src/luajit_lldb.py
> index bd8353d5..bdd9e716 100644
> --- a/src/luajit_lldb.py
> +++ b/src/luajit_lldb.py
> @@ -50,7 +50,6 @@ class Ptr:
>           else:
>               return int((self.value.unsigned - other.value.unsigned) / sizeof(self.normal_type.__name__))
>   
> -
>       def __eq__(self, other):
>           assert isinstance(other, Ptr) or (isinstance(other, int) and other >= 0)
>           if isinstance(other, Ptr):
> @@ -896,7 +895,6 @@ error message occurs.
>           print('{}'.format(dump_tvalue(tvptr)))
>   
>   
> -
>   class LJState(Command):
>       '''
>   lj-state
> @@ -1097,7 +1095,6 @@ def configure(debugger):
>       LJ_TISNUM = 0xfffeffff if LJ_64 and not LJ_GC64 else LJ_T['NUMX']
>   
>   
> -
>   def __lldb_init_module(debugger, internal_dict):
>       configure(debugger)
>       register_commands(debugger, {


More information about the Tarantool-patches mailing list