Skip to content

Commit

Permalink
Improve lint
Browse files Browse the repository at this point in the history
  • Loading branch information
benjello committed Jun 13, 2024
1 parent 69470b6 commit 65b0cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/lint-changed-python-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

last_tagged_commit=`git describe --tags --abbrev=0 --first-parent` # --first-parent ensures we don't follow tags not published in master through an unlikely intermediary merge commit

if ! changes=$(git diff-index --name-only --diff-filter=ACMR --exit-code $last_tagged_commit -- "*.py")
if ! changes=$(git diff-index --name-only --diff-filter=ACMR --exit-code $last_tagged_commit -- "**/*.py")
then
echo "Linting the following Python files:"
echo $changes
Expand Down

0 comments on commit 65b0cdb

Please sign in to comment.