[Tarantool-patches] [PATCH luajit 12/15] test: fix E711 errors by pycodestyle
Maxim Kokryashkin
m.kokryashkin at tarantool.org
Thu Aug 3 19:06:39 MSK 2023
Hi, Igor!
Thanks for the patch!
LGTM
--
Best regards,
Maxim Kokryashkin
>
>>Fixed the only occurrence of E711 ("comparison to None should be 'if
>>cond is not None:'") error reported by pycodestyle[1].
>>
>>[1]: https://www.flake8rules.com/rules/E711.html
>>
>>Signed-off-by: Igor Munkin < imun at tarantool.org >
>>---
>> src/luajit_lldb.py | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>>diff --git a/src/luajit_lldb.py b/src/luajit_lldb.py
>>index 1442e367..e481cfa0 100644
>>--- a/src/luajit_lldb.py
>>+++ b/src/luajit_lldb.py
>>@@ -1087,7 +1087,7 @@ def configure(debugger):
>> global LJ_64, LJ_GC64, LJ_FR2, LJ_DUALNUM, PADDING, LJ_TISNUM, target
>> target = debugger.GetSelectedTarget()
>> module = target.modules[0]
>>- LJ_DUALNUM = module.FindSymbol('lj_lib_checknumber') != None
>>+ LJ_DUALNUM = module.FindSymbol('lj_lib_checknumber') is not None
>>
>> try:
>> irtype_enum = target.FindFirstType('IRType').enum_members
>>--
>>2.30.2
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20230803/d51765df/attachment.htm>
More information about the Tarantool-patches
mailing list