aboutsummaryrefslogtreecommitdiffstats
path: root/test/meson.build
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-04-03 09:00:36 -0400
committerDavid Robillard <d@drobilla.net>2023-04-06 07:19:10 -0400
commitab712f8f0ea58f1a36aced42332ed8d8ffab83d7 (patch)
tree683a177c8203fde3c200ba3b1bf258e281a14a8e /test/meson.build
parent1c9d83c0c449ce6e62631985ae0c2b415345c3a8 (diff)
downloadserd-ab712f8f0ea58f1a36aced42332ed8d8ffab83d7.tar.gz
serd-ab712f8f0ea58f1a36aced42332ed8d8ffab83d7.tar.bz2
serd-ab712f8f0ea58f1a36aced42332ed8d8ffab83d7.zip
Fix flake8 warnings and add test
Diffstat (limited to 'test/meson.build')
-rw-r--r--test/meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/meson.build b/test/meson.build
index e31ddef3..0104079f 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -46,6 +46,12 @@ if get_option('lint')
test(name, black, args: black_opts + [script], suite: 'scripts')
endforeach
endif
+
+ # Check scripts for errors with flake8
+ flake8 = find_program('flake8', required: false)
+ if flake8.found()
+ test('flake8', flake8, args: python_scripts, suite: 'scripts')
+ endif
endif
###################