diff options
author | David Robillard <d@drobilla.net> | 2017-06-29 12:53:23 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-06-30 10:29:33 -0400 |
commit | 902d171c5e79561a534c3cbb9cc547cd1fadeab7 (patch) | |
tree | 20b2e3bdadb7e390ab33d5e1163ebdfe8b6280cf /wscript | |
parent | 195e4bcff3c4dfd3fe8bbf0df57d53ce89ca99e8 (diff) | |
download | serd-902d171c5e79561a534c3cbb9cc547cd1fadeab7.tar.gz serd-902d171c5e79561a534c3cbb9cc547cd1fadeab7.tar.bz2 serd-902d171c5e79561a534c3cbb9cc547cd1fadeab7.zip |
Fix various clang-tidy issues
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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') |