Script/lint, Lazytox: Fix issue to ignore delete files (#13051)
* Fix issue to ignore delete files * Updated lazytox
This commit is contained in:
1 parent
86baed4e52
commit
7ea7fc8d38
2 files changed
+5
-3
No files matched your search
+2
-2
@@ -3,9 +3,9 @@
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
export files="`git diff upstream/dev... --name-only | grep -e '\.py$'`"
|
||||
export files="`git diff upstream/dev... --diff-filter=d --name-only | grep -e '\.py$'`"
|
||||
echo "================================================="
|
||||
echo "FILES CHANGED (git diff upstream/dev... --name-only)"
|
||||
echo "FILES CHANGED (git diff upstream/dev... --diff-filter=d --name-only)"
|
||||
echo "================================================="
|
||||
if [ -z "$files" ] ; then
|
||||
echo "No python file changed. Rather use: tox -e lint"
|
||||
|
||||
Reference in new issue
Block a user