diff options
author | David Robillard <d@drobilla.net> | 2019-02-24 19:28:11 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 19:48:23 +0200 |
commit | 5aeb95bfa65b61ee64d07cd76905fb071c8a5e17 (patch) | |
tree | 1432171a0c6e8f8077ce427bab77f7b35591037e /wscript | |
parent | 16d4ccf422f8e470bf4bdc9458047831b0dc7116 (diff) | |
download | serd-5aeb95bfa65b61ee64d07cd76905fb071c8a5e17.tar.gz serd-5aeb95bfa65b61ee64d07cd76905fb071c8a5e17.tar.bz2 serd-5aeb95bfa65b61ee64d07cd76905fb071c8a5e17.zip |
Add clang-tidy file
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -225,16 +225,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" |