Skip to content

Commit d607eaa

Browse files
author
edbjunwang
committed
chore: add pep8 (pycodestyle) checking on PR
1 parent c9f4820 commit d607eaa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/python-codestyle.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@ jobs:
2828
echo "base ref: $GITHUB_BASE_REF"
2929
git checkout $GITHUB_BASE_REF
3030
echo "head ref: $GITHUB_HEAD_REF"
31+
git checkout $GITHUB_HEAD_REF
3132
git --no-pager diff $GITHUB_BASE_REF $GITHUB_HEAD_REF --name-only |grep ".py$" |xargs git --no-pager diff $GITHUB_BASE_REF $GITHUB_HEAD_REF | pycodestyle --show-source --diff
3233

0 commit comments

Comments
 (0)