From 1b52e15412edc5b90ef338173338bdac18be8332 Mon Sep 17 00:00:00 2001 From: xiaoshihou514 Date: Wed, 29 May 2024 15:21:21 +0100 Subject: [PATCH] fix(test): pylint --- test/linter/pylint_spec.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/linter/pylint_spec.lua b/test/linter/pylint_spec.lua index d40702c..91db14e 100644 --- a/test/linter/pylint_spec.lua +++ b/test/linter/pylint_spec.lua @@ -21,7 +21,7 @@ describe('pylint', function() end_col = -1, end_lnum = 0, lnum = 0, - message = 'Missing module docstring [missing-module-docstring]', + message = 'Missing module docstring[missing-module-docstring]', namespace = ns, severity = 3, source = 'pylint', @@ -32,7 +32,7 @@ describe('pylint', function() end_col = -1, end_lnum = 0, lnum = 0, - message = 'Missing function or method docstring [missing-function-docstring]', + message = 'Missing function or method docstring[missing-function-docstring]', namespace = ns, severity = 3, source = 'pylint', @@ -43,7 +43,7 @@ describe('pylint', function() end_col = -1, end_lnum = 0, lnum = 0, - message = 'Disallowed name "foo" [disallowed-name]', + message = 'Disallowed name "foo"[disallowed-name]', namespace = ns, severity = 3, source = 'pylint', @@ -54,7 +54,7 @@ describe('pylint', function() end_col = -1, end_lnum = 0, lnum = 0, - message = 'Either all return statements in a function should return an expression, or none of them should. [inconsistent-return-statements]', + message = 'Either all return statements in a function should return an expression, or none of them should.[inconsistent-return-statements]', namespace = ns, severity = 3, source = 'pylint',