meson.build: hook up the tools for flake8

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
pull/188/head
Peter Hutterer 2019-08-23 09:41:06 +10:00
parent ff7bdffc70
commit 6a1c2bb4d9
1 changed files with 3 additions and 0 deletions

View File

@ -127,6 +127,9 @@ if flake8.found()
args: ['--ignore=E501,W504',
join_paths(meson.source_root(), 'tuhi'),
join_paths(meson.source_root(), 'tuhi', 'gui')])
test('flake8-tools', flake8,
args: ['--ignore=E501,W504',
join_paths(meson.source_root(), 'tools')])
# the tests need different flake exclusions
test('flake8-tests', flake8,
args: ['--ignore=E501,W504,F403,F405',