From 902d171c5e79561a534c3cbb9cc547cd1fadeab7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 29 Jun 2017 12:53:23 -0400 Subject: Fix various clang-tidy issues --- wscript | 1 + 1 file changed, 1 insertion(+) (limited to 'wscript') diff --git a/wscript b/wscript index 3aff945c..b39e43a8 100644 --- a/wscript +++ b/wscript @@ -211,6 +211,7 @@ def build(bld): def lint(ctx): subprocess.call('cpplint.py --filter=+whitespace/comments,-whitespace/tab,-whitespace/braces,-whitespace/labels,-build/header_guard,-readability/casting,-readability/todo,-build/include src/* serd/*', shell=True) + subprocess.call('clang-tidy -checks="*,-misc-unused-parameters,-readability-else-after-return,-llvm-header-guard,-google-readability-todo,-clang-analyzer-alpha.*" -extra-arg="-std=c99" -extra-arg="-I." -extra-arg="-Ibuild" ./serd/*.h ./src/*.c ./src/*.h', shell=True) def amalgamate(ctx): shutil.copy('serd/serd.h', 'build/serd.h') -- cgit v1.2.1