Skip to content

Commit ee25c89

Browse files
authored
Ignore all *.egg-info/*.pytest_cache dirs (#2020)
1 parent 49bc94c commit ee25c89

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ __pycache__/
1010
.env
1111
.venv
1212
*.egg-info
13+
*.pytest_cache
1314

1415
# OSX
1516
.DS_Store

build/lint.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ output=$(cd "$ROOT" && find . -type f \
8686
! -path "**/.history/*" \
8787
! -path "**/__pycache__/*" \
8888
! -path "**/.pytest_cache/*" \
89-
! -path "**.egg-info/*" \
89+
! -path "**/*.egg-info/*" \
9090
! -path "./test/*" \
9191
! -path "./dev/config/*" \
9292
! -path "./bin/*" \
@@ -117,7 +117,7 @@ if [ "$is_release_branch" = "true" ]; then
117117
! -path "**/.history/*" \
118118
! -path "**/__pycache__/*" \
119119
! -path "**/.pytest_cache/*" \
120-
! -path "**.egg-info/*" \
120+
! -path "**/*.egg-info/*" \
121121
! -path "./dev/config/*" \
122122
! -path "./bin/*" \
123123
! -path "./.git/*" \
@@ -140,7 +140,7 @@ output=$(cd "$ROOT" && find . -type f \
140140
! -path "**/.vscode/*" \
141141
! -path "**/__pycache__/*" \
142142
! -path "**/.pytest_cache/*" \
143-
! -path "**.egg-info/*" \
143+
! -path "**/*.egg-info/*" \
144144
! -path "./dev/config/*" \
145145
! -path "./bin/*" \
146146
! -path "./.git/*" \
@@ -162,7 +162,7 @@ output=$(cd "$ROOT" && find . -type f \
162162
! -path "**/.vscode/*" \
163163
! -path "**/__pycache__/*" \
164164
! -path "**/.pytest_cache/*" \
165-
! -path "**.egg-info/*" \
165+
! -path "**/*.egg-info/*" \
166166
! -path "./dev/config/*" \
167167
! -path "./bin/*" \
168168
! -path "./.git/*" \
@@ -184,7 +184,7 @@ output=$(cd "$ROOT" && find . -type f \
184184
! -path "**/.history/*" \
185185
! -path "**/__pycache__/*" \
186186
! -path "**/.pytest_cache/*" \
187-
! -path "**.egg-info/*" \
187+
! -path "**/*.egg-info/*" \
188188
! -path "./dev/config/*" \
189189
! -path "./bin/*" \
190190
! -path "./.git/*" \
@@ -206,7 +206,7 @@ output=$(cd "$ROOT" && find . -type f \
206206
! -path "**/.vscode/*" \
207207
! -path "**/__pycache__/*" \
208208
! -path "**/.pytest_cache/*" \
209-
! -path "**.egg-info/*" \
209+
! -path "**/*.egg-info/*" \
210210
! -path "./dev/config/*" \
211211
! -path "./bin/*" \
212212
! -path "./.git/*" \

0 commit comments

Comments
 (0)