Skip to content

Commit 734d778

Browse files
authored
CI: Fix mypy script reference to main branch (#18)
1 parent d5c3697 commit 734d778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/run-mypy-on-modified-files.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ cd "$(dirname "${0}")/.." || exit 1
99
{
1010
git diff --name-only --diff-filter=d --relative ':(exclude)unit_tests'
1111
git diff --name-only --diff-filter=d --staged --relative ':(exclude)unit_tests'
12-
git diff --name-only --diff-filter=d master... --relative ':(exclude)unit_tests'
12+
git diff --name-only --diff-filter=d main... --relative ':(exclude)unit_tests'
1313
} | grep -E '\.py$' | sort | uniq | xargs mypy --config-file mypy.ini --install-types --non-interactive

0 commit comments

Comments
 (0)