Skip to content

Commit e9d87dc

Browse files
committed
Pass through args to mypy/flake8
1 parent 8f1a3e4 commit e9d87dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/linting/lint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
if [ -z "$FLAKE8" ]; then
33
FLAKE8=flake8
44
fi
5-
exec "$FLAKE8" scripts/*.py scripts/add
5+
exec "$FLAKE8" scripts/*.py scripts/add "$@"

scripts/typing/check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
if [ -z "$MYPY" ]; then
33
MYPY=mypy
44
fi
5-
exec "$MYPY" scripts
5+
exec "$MYPY" scripts "$@"

0 commit comments

Comments
 (0)