From 9e966d0f5a11bb43d17a56aab1ed9a43b8c2a112 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Apr 2023 20:11:05 -0400 Subject: Replace strict option with new meson warning level --- scripts/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/meson.build') diff --git a/scripts/meson.build b/scripts/meson.build index 604db89..387fc1c 100644 --- a/scripts/meson.build +++ b/scripts/meson.build @@ -1,9 +1,10 @@ # Copyright 2020-2022 David Robillard # SPDX-License-Identifier: 0BSD OR ISC -if get_option('strict') and not meson.is_subproject() +if not meson.is_subproject() and get_option('lint') simple_scripts = files('benchmark.py') plot_scripts = files('plot.py') + all_scripts = simple_scripts + plot_scripts # Check formatting with black black = find_program('black', required: get_option('tests')) -- cgit v1.2.1