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 32512562369; Thu, 3 Aug 2023 17:26:23 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 32512562369 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1691072783; bh=VrfbOOXot0HBQ6KGD7PVZ0pS6zYL7Tre2oc8cLCTqDg=; 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=arzPN3i0on9jRqNU/usS4npHXt2hpJupKoBZYGuetryAT0x6c7ulZa0oQ4KctAguW L970SIXO79NeA1kz2Yculm+N7ebwR79EoE0o+XmuFO6KIqlrT4CdABvKp0m8AsXkNB Pn+LTH1obs+uR6+4epEXX/M+IIudDO1MjugTL4bI= Received: from smtpng1.i.mail.ru (smtpng1.i.mail.ru [94.100.181.251]) (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 D6406562369 for ; Thu, 3 Aug 2023 17:26:09 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org D6406562369 Received: by smtpng1.m.smailru.net with esmtpa (envelope-from ) id 1qRZHF-00066T-8s; Thu, 03 Aug 2023 17:26:09 +0300 Message-ID: <7b84027e-57d9-ab83-aa0f-7ccdac0f76af@tarantool.org> Date: Thu, 3 Aug 2023 17:26:09 +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: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD969E04B5EED670DC8841989C3708580A974F6E13231883BD2182A05F538085040A63D1B74992C9480D4E4ACDB6DA15D1B99FA25456298BE5BC2A704EAED8A2BA6 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7811C3E343B302E2EEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637457C2806CBF873EDEA1F7E6F0F101C6723150C8DA25C47586E58E00D9D99D84E1BDDB23E98D2D38BE5CCB53A13BC8DBAAB20BA86536F50FA4BC7AFE24AD514BFCC7F00164DA146DAFE8445B8C89999728AA50765F7900637CAEE156C82D3D7D9389733CBF5DBD5E9C8A9BA7A39EFB766F5D81C698A659EA7CC7F00164DA146DA9985D098DBDEAEC8E3786DD2C77EBDAAF6B57BC7E6449061A352F6E88A58FB86F5D81C698A659EA7E827F84554CEF5019E625A9149C048EE33AC447995A7AD187441229DB5CFFAA63A03B725D353964B78444BBB7636F62A35872C767BF85DA227C277FBC8AE2E8B374CE26A9E38610E75ECD9A6C639B01B4E70A05D1297E1BBCB5012B2E24CD356 X-C1DE0DAB: 0D63561A33F958A58BF6DC6F44770865D951A8B4AD599DD096C50E34A8785786F87CCE6106E1FC07E67D4AC08A07B9B01F9513A7CA91E555CB5012B2E24CD356 X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF3FED46C3ACD6F73ED3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CF08F7BD3F018CA299EE1A4F6FCDCCF0BAA5AFBA2B92BC4DB239AFF1E3E993FA67ACCA692FBCDC96C28553022043D0BC9AC382D5E085797FE47D0C643F6FA8DD92E48CAC7CA610320002C26D483E81D6BE0DBAE6F56676BC7117BB6831D7356A2DEC5B5AD62611EEC62B5AFB4261A09AF0 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojcir52QaMQ80bPgL6htX4LQ== X-DA7885C5: DF3661A7B987D82F606D39B4CACAB99587DCE9D78EF8A2AC1574F96CA042E446262E2D401490A4A0DB037EFA58388B346E8BC1A9835FDE71 X-Mailru-Sender: 689FA8AB762F73930F533AC2B33E986B507994B2E6CC201CDCBC23D893E77C98DD788429FD8613638ED9BB8B05EE7B3AFB559BB5D741EB96D19CD4E7312BAA970A04DAD6CC59E3365FEEDEB644C299C0ED14614B50AE0675 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH luajit 02/15] test: fix E128 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 8 occurrences of E128 ("continuation line under-indented for > visual indent") error reported by pycodestyle[1]. > > [1]: https://www.flake8rules.com/rules/E128.html > > Signed-off-by: Igor Munkin > --- > src/luajit-gdb.py | 13 ++++++------- > src/luajit_lldb.py | 6 +++--- > 2 files changed, 9 insertions(+), 10 deletions(-) > > diff --git a/src/luajit-gdb.py b/src/luajit-gdb.py > index 96ee2289..b84fdc93 100644 > --- a/src/luajit-gdb.py > +++ b/src/luajit-gdb.py > @@ -118,7 +118,7 @@ def bc_a(ins): > > def frame_ftsz(framelink): > return cast('ptrdiff_t', framelink['ftsz'] if LJ_FR2 \ > - else framelink['fr']['tp']['ftsz']) > + else framelink['fr']['tp']['ftsz']) > > def frame_pc(framelink): > return cast('BCIns *', frame_ftsz(framelink)) if LJ_FR2 \ > @@ -182,11 +182,11 @@ def mref(typename, obj): > > def gcref(obj): > return cast('GCobj *', obj['gcptr64'] if LJ_GC64 > - else cast('uintptr_t', obj['gcptr32'])) > + else cast('uintptr_t', obj['gcptr32'])) > > def gcval(obj): > return cast('GCobj *', obj['gcptr64'] & LJ_GCVMASK if LJ_GC64 > - else cast('uintptr_t', obj['gcptr32'])) > + else cast('uintptr_t', obj['gcptr32'])) > > def gcnext(obj): > return gcref(obj)['gch']['nextgc'] > @@ -212,9 +212,8 @@ def J(g): > typeGG = gtype('GG_State') > > return cast('jit_State *', int(cast('char *', g)) > - - int(typeGG['g'].bitpos / 8) > - + int(typeGG['J'].bitpos / 8) > - ) > + - int(typeGG['g'].bitpos / 8) > + + int(typeGG['J'].bitpos / 8)) > > def vm_state(g): > return { > @@ -282,7 +281,7 @@ def funcproto(func): > assert(func['ffid'] == 0) > > return cast('GCproto *', > - mref('char *', func['pc']) - gdb.lookup_type('GCproto').sizeof) > + mref('char *', func['pc']) - gdb.lookup_type('GCproto').sizeof) > > def gclistlen(root, end=0x0): > count = 0 > diff --git a/src/luajit_lldb.py b/src/luajit_lldb.py > index 77d92785..3f636546 100644 > --- a/src/luajit_lldb.py > +++ b/src/luajit_lldb.py > @@ -355,11 +355,11 @@ def dbg_eval(expr): > > def gcval(obj): > return cast(GCobjPtr, cast('uintptr_t', obj.gcptr & LJ_GCVMASK) if LJ_GC64 > - else cast('uintptr_t', obj.gcptr)) > + else cast('uintptr_t', obj.gcptr)) > > def gcref(obj): > return cast(GCobjPtr, obj.gcptr if LJ_GC64 > - else cast('uintptr_t', obj.gcptr)) > + else cast('uintptr_t', obj.gcptr)) > > def gcnext(obj): > return gcref(obj).gch.nextgc > @@ -658,7 +658,7 @@ def bc_a(ins): > > def frame_ftsz(framelink): > return vtou64(cast('ptrdiff_t', framelink.ftsz if LJ_FR2 \ > - else framelink.fr.tp.ftsz)) > + else framelink.fr.tp.ftsz)) > > def frame_pc(framelink): > return cast(BCInsPtr, frame_ftsz(framelink)) if LJ_FR2 \