Skip to content

Commit 33c09aa

Browse files
authored
Merge pull request #5 from nmenardg-keeper/update-mypy
Fix mypy's missing stubs error
2 parents 5b97651 + d6e7ca4 commit 33c09aa

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

entrypoint.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,13 @@ fi
116116

117117
if [ "$6" = true ] ; then
118118

119-
echo Running: mypy --ignore-missing-imports --follow-imports=silent --show-column-numbers ${14} $1
119+
echo Running: mypy --install-types --non-interactive --ignore-missing-imports --follow-imports=silent --show-column-numbers ${14} $1
120120

121-
mypy --ignore-missing-imports --follow-imports=silent --show-column-numbers ${14} $1
121+
mypy \
122+
--install-types --non-interactive \
123+
--ignore-missing-imports \
124+
--follow-imports=silent \
125+
--show-column-numbers ${14} $1
122126
exit_code=$?
123127

124128
if [ "$exit_code" = "0" ]; then

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
black==21.11b1
22
flake8==4.0.1
33
isort==5.10.1
4-
mypy==0.910
4+
mypy~=0.961
55
pycodestyle==2.8.0
66
pydocstyle==6.1.1
77
pylint==2.12.1

0 commit comments

Comments
 (0)