aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-06-23 10:02:30 -0400
committerDavid Robillard <d@drobilla.net>2024-06-23 10:02:30 -0400
commit9a88802ed56c4500f596647e9aa1ef5d93ecfd73 (patch)
tree9ee630c1e8077bfcb135d468ba35488d339a7abd /test
parent818de2edd8e0382840beb7c10b458ad9f193d295 (diff)
downloadserd-9a88802ed56c4500f596647e9aa1ef5d93ecfd73.tar.gz
serd-9a88802ed56c4500f596647e9aa1ef5d93ecfd73.tar.bz2
serd-9a88802ed56c4500f596647e9aa1ef5d93ecfd73.zip
Simplify pylint test definition
Diffstat (limited to 'test')
-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