[Tarantool-patches] [PATCH luajit 11/15] test: fix E502 errors by pycodestyle
Maxim Kokryashkin
m.kokryashkin at tarantool.org
Thu Aug 3 19:06:00 MSK 2023
Hi, Igor!
Thanks for the patch!
LGTM
--
Best regards,
Maxim Kokryashkin
>
>>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))
>>
>>
>>--
>>2.30.2
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20230803/4d8dd368/attachment.htm>
More information about the Tarantool-patches
mailing list