aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/meson.build7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/meson.build b/test/meson.build
index f6f56c2b..0ea7f1a2 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -88,13 +88,12 @@ if get_option('lint')
required: false,
)
- pylint_scripts = simple_scripts
+ pylint_args = ['--disable', 'bad-option-value'] + simple_scripts
if plot_py.found()
- pylint_scripts += plot_scripts
+ pylint_args += plot_scripts
endif
- pylint_args = ['--disable', 'bad-option-value']
- test('pylint', pylint, args: pylint_args + pylint_scripts, suite: 'scripts')
+ test('pylint', pylint, args: pylint_args, suite: 'scripts')
endif
# Check Turtle formatting with serdi