Skip to content

Commit 8d93493

Browse files
authored
Merge pull request #138 from cisagov/improvement/add-flag-to-mypy
Add the `--non-interactive` flag when installing type stubs via `mypy`
2 parents adbf9e4 + 48d3b4f commit 8d93493

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup-env

+3-3
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,6 @@ for req_file in "requirements-dev.txt" "requirements-test.txt" "requirements.txt
250250
fi
251251
done
252252

253-
# Install all necessary mypy type stubs
254-
mypy --install-types src/
255-
256253
# Install git pre-commit hooks now or later.
257254
pre-commit install ${INSTALL_HOOKS:+"--install-hooks"}
258255

@@ -285,5 +282,8 @@ else:
285282
END_OF_LINE
286283
)"
287284

285+
# Install all necessary mypy type stubs
286+
mypy --install-types --non-interactive src/
287+
288288
# Qapla'
289289
echo "Success!"

0 commit comments

Comments
 (0)