mirror of https://github.com/llvm/circt.git
[CI] Prevent yapf from linting .py.in files. (#2466)
This commit is contained in:
parent
e3f2c4eec3
commit
65a685efdc
|
@ -85,7 +85,7 @@ jobs:
|
|||
if: ${{ always() }}
|
||||
shell: bash
|
||||
run: |
|
||||
files=$(git diff --name-only $DIFF_COMMIT | grep -e '\.py' || echo -n)
|
||||
files=$(git diff --name-only $DIFF_COMMIT | grep -e '\.py$' || echo -n)
|
||||
if [[ ! -z $files ]]; then
|
||||
yapf --diff $files
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue