Skip to content

Commit

Permalink
Exclude path
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo-garay committed Oct 26, 2024
1 parent b44008b commit df7c872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/copyright-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
# Files ending with .py should have Copyright notice in the first 10 lines
find_files_with_missing_copyright() {
find ./ -type f -name '*.py' | while read path; do
find ./ -type f -name '*.py' -not -path ".git/*" | while read path; do
echo -en $path"\t"
head -n 10 $path | tr '\n' '\t' | sed 's/\t$/\n/'
done \
Expand Down

0 comments on commit df7c872

Please sign in to comment.