From 84262b126b7a26fb66b00b10a615fe077ea134a2 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Fri, 25 Dec 2020 07:45:08 +0100 Subject: [PATCH] build_tools/style.fish: don't format other Python files --- build_tools/style.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_tools/style.fish b/build_tools/style.fish index d685c8e44..ea720ecbf 100755 --- a/build_tools/style.fish +++ b/build_tools/style.fish @@ -28,8 +28,8 @@ if test $all = yes exit 1 end set c_files src/*.h src/*.cpp src/*.c - set fish_files (printf '%s\n' share/***.fish) - set python_files **.py + set fish_files share/**.fish + set python_files {doc_src,share,tests}/**.py else # 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.