From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 0BE7957570B; Thu, 3 Aug 2023 17:31:24 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 0BE7957570B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1691073084; bh=2f1ME3sV37vekcm2ka5/JGu6Z1mTEYAnxvW1A1gDWLo=; h=Date:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=q5DAOYaBxLgSfiaPdRB1mD1wutqkuJHjChe0yIYZWT+E6lUYCiQSD2eeNZa6CZGix 0ZUMKQaYu0+8jSiDrtI9VmoDVlj5Df+7lzx8nmh/f32MXpxiHjuELVMNH7cBe5uLuS vYDNAxH+jg9YKL8QrOV/5aP+K5zrMjI+3krZNurM= Received: from smtpng3.i.mail.ru (smtpng3.i.mail.ru [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 551D757570B for ; Thu, 3 Aug 2023 17:29:25 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 551D757570B Received: by smtpng3.m.smailru.net with esmtpa (envelope-from ) id 1qRZKO-0007QO-Hx; Thu, 03 Aug 2023 17:29:24 +0300 Message-ID: <54f1516c-ce14-bf07-dd8f-36e2c216173c@tarantool.org> Date: Thu, 3 Aug 2023 17:29:24 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: Igor Munkin , Maxim Kokryashkin Cc: tarantool-patches@dev.tarantool.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: 78E4E2B564C1792B X-77F55803: 4F1203BC0FB41BD93761F2630DFFAF41CD8AADF74AB56123D62C7DACF73B16E5182A05F538085040E4872345B9947911DF8DC0D5C0F52B085C2607E0E821B6AF7C9E68DD7FFB4200 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7AEA4A6B3AFC9B957C2099A533E45F2D0395957E7521B51C2CFCAF695D4D8E9FCEA1F7E6F0F101C6778DA827A17800CE728F774C865CF4B07EA1F7E6F0F101C6723150C8DA25C47586E58E00D9D99D84E1BDDB23E98D2D38BE5CCB53A13BC8DBA19644D5EB013ECC78C6150A57A9D9480CC7F00164DA146DAFE8445B8C89999728AA50765F7900637BA939FD1B3BAB99B389733CBF5DBD5E9C8A9BA7A39EFB766F5D81C698A659EA7CC7F00164DA146DA9985D098DBDEAEC8D56D36E97F3F038CF6B57BC7E6449061A352F6E88A58FB86F5D81C698A659EA7E827F84554CEF5019E625A9149C048EE33AC447995A7AD182BEBFE083D3B9BA73A03B725D353964BED96AA85C75E140D089D37D7C0E48F6C8AA50765F79006377F02F59195295693EFF80C71ABB335746BA297DBC24807EABDAD6C7F3747799A X-C1DE0DAB: 0D63561A33F958A52429C3160F33087CAC4F0A69F2A6B12F14D358C0A7428BC9F87CCE6106E1FC07E67D4AC08A07B9B00A6B3CD6EB70C818BDAD6C7F3747799A X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF3FED46C3ACD6F73ED3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CF30B402E2FC2FFCE33AA2708FF74347A1B02D48DA123BBE42457B1D4579C4A0F7792D7E5D32AAB0D08553022043D0BC9AB384FD36AFDBE81A41597D6AB71B14D6E48CAC7CA610320002C26D483E81D6BE0DBAE6F56676BC7117BB6831D7356A2DEC5B5AD62611EEC62B5AFB4261A09AF0 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojcir52QaMQ81uVdTz0Q/i4w== X-DA7885C5: 4803E0D936F06670680B58408F235A7134B657EE51791BBA440D64A15174BBC7262E2D401490A4A0DB037EFA58388B346E8BC1A9835FDE71 X-Mailru-Sender: 689FA8AB762F73930F533AC2B33E986B45359E28AB36B2194143DEBEEDF46D44DD788429FD8613638ED9BB8B05EE7B3AFB559BB5D741EB96D19CD4E7312BAA970A04DAD6CC59E3365FEEDEB644C299C0ED14614B50AE0675 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH luajit 12/15] test: fix E711 errors by pycodestyle X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Bronnikov via Tarantool-patches Reply-To: Sergey Bronnikov Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" LGTM On 8/3/23 10:30, Igor Munkin wrote: > 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 > --- > 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