build_tools/style.fish: don't format other Python files

This commit is contained in:
Johannes Altmanninger 2020-12-25 07:45:08 +01:00
parent 4c09012b0d
commit 84262b126b

View File

@ -28,8 +28,8 @@ if test $all = yes
exit 1 exit 1
end end
set c_files src/*.h src/*.cpp src/*.c set c_files src/*.h src/*.cpp src/*.c
set fish_files (printf '%s\n' share/***.fish) set fish_files share/**.fish
set python_files **.py set python_files {doc_src,share,tests}/**.py
else else
# We haven't been asked to reformat all the source. If there are uncommitted changes reformat # We haven't been asked to reformat all the source. If there are uncommitted changes reformat
# those using `git clang-format`. Else reformat the files in the most recent commit. # those using `git clang-format`. Else reformat the files in the most recent commit.