From 9a88802ed56c4500f596647e9aa1ef5d93ecfd73 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Jun 2024 10:02:30 -0400 Subject: Simplify pylint test definition --- test/meson.build | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'test/meson.build') 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 -- cgit v1.2.1