1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Include python in scripts directory in lint & formatting

This commit is contained in:
Ross McFarland
2023-04-05 14:54:08 -07:00
parent 8eea4ca544
commit ddba96c289
3 changed files with 6 additions and 5 deletions

View File

@@ -15,6 +15,6 @@ if [ ! -f "$ACTIVATE" ]; then
fi
. "$ACTIVATE"
SOURCES="*.py octodns/*.py octodns/*/*.py tests/*.py"
SOURCES="$(find *.py octodns tests -name '*.py') $(grep --files-with-matches '^#!.*python' script/*)"
pyflakes $SOURCES