From ed66a97413e31d2c30347de3522559569e7c0c80 Mon Sep 17 00:00:00 2001 From: Sergey Bronnikov <sergeyb@tarantool.org> Date: Thu, 16 Jul 2020 11:42:17 +0000 Subject: [PATCH] luacheck: fix warnings in test/box-py Closes #5456 Reviewed-by: Vladislav Shpilevoy <v.shpilevoy@tarantool.org> Reviewed-by: Igor Munkin <imun@tarantool.org> Co-authored-by: Vladislav Shpilevoy <v.shpilevoy@tarantool.org> Co-authored-by: Igor Munkin <imun@tarantool.org> --- .luacheckrc | 1 - test/box-py/box.lua | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.luacheckrc b/.luacheckrc index f61f6d5cb4..00611176e7 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -39,7 +39,6 @@ exclude_files = { "test/box/lua/require_mod.lua", -- Unused source file, to be dropped (gh-5169). "test/box/lua/test_init.lua", - "test/box-py/**/*.lua", "test/box-tap/**/*.lua", "test/engine/**/*.lua", "test/engine_long/**/*.lua", diff --git a/test/box-py/box.lua b/test/box-py/box.lua index e9403774c7..35a087de92 100644 --- a/test/box-py/box.lua +++ b/test/box-py/box.lua @@ -1,5 +1,5 @@ #!/usr/bin/env tarantool -os = require('os') +local os = require('os') box.cfg{ listen = os.getenv("LISTEN"), -- GitLab