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

Maxim Kokryashkin m.kokryashkin at tarantool.org
Thu Aug 3 19:03:09 MSK 2023


Hi, Igor!
Thanks for the patch!
LGTM
 
--
Best regards,
Maxim Kokryashkin
 
 
> 
>>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, {
>>--
>>2.30.2
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20230803/16609645/attachment.htm>


More information about the Tarantool-patches mailing list