Skip to content

Commit

Permalink
CI: Fix mypy script reference to main branch (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsteers authored Nov 10, 2024
1 parent d5c3697 commit 734d778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/run-mypy-on-modified-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ cd "$(dirname "${0}")/.." || exit 1
{
git diff --name-only --diff-filter=d --relative ':(exclude)unit_tests'
git diff --name-only --diff-filter=d --staged --relative ':(exclude)unit_tests'
git diff --name-only --diff-filter=d master... --relative ':(exclude)unit_tests'
git diff --name-only --diff-filter=d main... --relative ':(exclude)unit_tests'
} | grep -E '\.py$' | sort | uniq | xargs mypy --config-file mypy.ini --install-types --non-interactive

0 comments on commit 734d778

Please sign in to comment.