Skip to content

Commit

Permalink
Merge pull request #5 from nmenardg-keeper/update-mypy
Browse files Browse the repository at this point in the history
Fix mypy's missing stubs error
  • Loading branch information
marian-code committed Jun 16, 2022
2 parents 5b97651 + d6e7ca4 commit 33c09aa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,13 @@ fi

if [ "$6" = true ] ; then

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

mypy --ignore-missing-imports --follow-imports=silent --show-column-numbers ${14} $1
mypy \
--install-types --non-interactive \
--ignore-missing-imports \
--follow-imports=silent \
--show-column-numbers ${14} $1
exit_code=$?

if [ "$exit_code" = "0" ]; then
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
black==21.11b1
flake8==4.0.1
isort==5.10.1
mypy==0.910
mypy~=0.961
pycodestyle==2.8.0
pydocstyle==6.1.1
pylint==2.12.1
Expand Down

0 comments on commit 33c09aa

Please sign in to comment.