mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08:00
build_tools/style.fish: don't format other Python files
This commit is contained in:
parent
4c09012b0d
commit
84262b126b
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user