diff options
author | David Robillard <d@drobilla.net> | 2019-02-24 19:28:11 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-20 10:26:55 -0500 |
commit | 2bc1126e3e6310464adc8e5aea04f15fb4c72341 (patch) | |
tree | 811654a07dab4a5c3ff9ba16c6e431481d2814da /wscript | |
parent | 831ebad3855c21d03a96cab1b887958ffca6267a (diff) | |
download | serd-2bc1126e3e6310464adc8e5aea04f15fb4c72341.tar.gz serd-2bc1126e3e6310464adc8e5aea04f15fb4c72341.tar.bz2 serd-2bc1126e3e6310464adc8e5aea04f15fb4c72341.zip |
Add clang-tidy file
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -235,16 +235,8 @@ def build(bld): def lint(ctx): "checks code for style issues" import subprocess - cmd = ("clang-tidy -p=. -header-filter=.* -checks=\"*," + - "-bugprone-suspicious-string-compare," + - "-clang-analyzer-alpha.*," + - "-google-readability-todo," + - "-hicpp-signed-bitwise," + - "-llvm-header-guard," + - "-misc-unused-parameters," + - "-readability-else-after-return\" " + - "../src/*.c") - subprocess.call(cmd, cwd='build', shell=True) + subprocess.call('clang-tidy ../src/*.c ../tests/*.c ../tests/*.cpp', + cwd='build', shell=True) def amalgamate(ctx): "builds single-file amalgamated source" |