mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
script/lint only on python files (#5018)
This commit is contained in:
parent
877efac630
commit
1aea3e0d51
@ -4,7 +4,7 @@
|
|||||||
# performs roughly what this test did in the past.
|
# performs roughly what this test did in the past.
|
||||||
|
|
||||||
if [ "$1" = "--changed" ]; then
|
if [ "$1" = "--changed" ]; then
|
||||||
export files="`git diff upstream/dev --name-only | grep -v requirements_all.txt`"
|
export files="`git diff upstream/dev --name-only | grep -e '\.py$'`"
|
||||||
echo "================================================="
|
echo "================================================="
|
||||||
echo "FILES CHANGED (git diff upstream/dev --name-only)"
|
echo "FILES CHANGED (git diff upstream/dev --name-only)"
|
||||||
echo "================================================="
|
echo "================================================="
|
||||||
|
Loading…
x
Reference in New Issue
Block a user