[Tarantool-patches] [PATCH luajit 11/15] test: fix E502 errors by pycodestyle

Sergey Bronnikov sergeyb at tarantool.org
Thu Aug 3 17:29:05 MSK 2023


LGTM

On 8/3/23 10:30, Igor Munkin wrote:
> Fixed two occurrences of E502 ("the backslash is redundant between
> brackets") error reported by pycodestyle[1].
>
> [1]: https://www.flake8rules.com/rules/E502.html
>
> Signed-off-by: Igor Munkin <imun at tarantool.org>
> ---
>   src/luajit-gdb.py  | 2 +-
>   src/luajit_lldb.py | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/luajit-gdb.py b/src/luajit-gdb.py
> index 3babb1d5..8e786528 100644
> --- a/src/luajit-gdb.py
> +++ b/src/luajit-gdb.py
> @@ -136,7 +136,7 @@ def bc_a(ins):
>   
>   
>   def frame_ftsz(framelink):
> -    return cast('ptrdiff_t', framelink['ftsz'] if LJ_FR2 \
> +    return cast('ptrdiff_t', framelink['ftsz'] if LJ_FR2
>                   else framelink['fr']['tp']['ftsz'])
>   
>   
> diff --git a/src/luajit_lldb.py b/src/luajit_lldb.py
> index 325b40ec..1442e367 100644
> --- a/src/luajit_lldb.py
> +++ b/src/luajit_lldb.py
> @@ -722,7 +722,7 @@ def bc_a(ins):
>   
>   
>   def frame_ftsz(framelink):
> -    return vtou64(cast('ptrdiff_t', framelink.ftsz if LJ_FR2 \
> +    return vtou64(cast('ptrdiff_t', framelink.ftsz if LJ_FR2
>                          else framelink.fr.tp.ftsz))
>   
>   


More information about the Tarantool-patches mailing list