[Tarantool-patches] [PATCH luajit 17/15] test: fix E275 errors by pycodestyle
Sergey Bronnikov
sergeyb at tarantool.org
Tue Aug 8 11:26:37 MSK 2023
LGTM
On 8/7/23 16:41, Igor Munkin wrote:
> Fixed 2 occurrences of E275 ("missing whitespace after keyword") error
> reported by pycodestyle[1].
>
> [1]: https://www.flake8rules.com/rules/E275.html
>
> Signed-off-by: Igor Munkin <imun at tarantool.org>
> ---
>
> **NB**: This patch will be placed between "[PATCH luajit 06/15] test:
> fix E251 errors by pycodestyle" and "[PATCH luajit 08/15] test: fix E302
> errors by pycodestyle" on the branch.
>
> CI: https://github.com/tarantool/luajit/actions/runs/5785962723/job/15679677849
>
> 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 b7902d53..f9623e53 100644
> --- a/src/luajit-gdb.py
> +++ b/src/luajit-gdb.py
> @@ -335,7 +335,7 @@ def funcproto(func):
>
> def gclistlen(root, end=0x0):
> count = 0
> - while(gcref(root) != end):
> + while (gcref(root) != end):
> count += 1
> root = gcnext(root)
> return count
> diff --git a/src/luajit_lldb.py b/src/luajit_lldb.py
> index 94f54a59..53f3abca 100644
> --- a/src/luajit_lldb.py
> +++ b/src/luajit_lldb.py
> @@ -388,7 +388,7 @@ def gcnext(obj):
>
> def gclistlen(root, end=0x0):
> count = 0
> - while(gcref(root) != end):
> + while (gcref(root) != end):
> count += 1
> root = gcnext(root)
> return count
More information about the Tarantool-patches
mailing list