Skip to content

Commit 0eb65c0

Browse files
Jacksunweicopybara-github
authored andcommitted
chore: Ignore hidden files in autoformat.sh
PiperOrigin-RevId: 798490378
1 parent 0b89f18 commit 0eb65c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

autoformat.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,16 @@ echo '---------------------------------------'
5252
echo '| Auto-formatting src/...'
5353
echo '---------------------------------------'
5454

55-
find -L src/ -type f -name "*.py" -exec pyink --config pyproject.toml {} +
55+
find -L src/ -not -path "*/.*" -type f -name "*.py" -exec pyink --config pyproject.toml {} +
5656

5757
echo '---------------------------------------'
5858
echo '| Auto-formatting tests/...'
5959
echo '---------------------------------------'
6060

61-
find -L tests/ -type f -name "*.py" -exec pyink --config pyproject.toml {} +
61+
find -L tests/ -not -path "*/.*" -type f -name "*.py" -exec pyink --config pyproject.toml {} +
6262

6363
echo '---------------------------------------'
6464
echo '| Auto-formatting contributing/...'
6565
echo '---------------------------------------'
6666

67-
find -L contributing/ -type f -name "*.py" -exec pyink --config pyproject.toml {} +
67+
find -L contributing/ -not -path "*/.*" -type f -name "*.py" -exec pyink --config pyproject.toml {} +

0 commit comments

Comments
 (0)