Skip to content

Commit 4bd63cb

Browse files
committed
helper script: fix 'formatting'
Change-Id: I80c7341429f9a8c566a6f173ddd1a4874d7b9b77
1 parent 93bf427 commit 4bd63cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/remove-unused-filelevel-mypy-suppressions.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ remove_suppression() {
4545
git checkout $(extract_failed_files "${TMPFILE}" "${st}")
4646
echo "Changed files: $(git df | wc -l)"
4747
done
48-
# shellcheck disable=SC2046 # we want word splitting here
49-
bazel run //:format $(git diff --name-only --pretty=)
48+
# we're removing lines before the imports. This is 'reformatting':
49+
bazel lint --fix //...
5050
git commit -am "Remove unnecessary mypy suppression: ${st}"
5151
}
5252

0 commit comments

Comments
 (0)