Skip to content

Commit

Permalink
Pin mypy version to 0.670 temporarily
Browse files Browse the repository at this point in the history
mypy version 0.700 includes some stubs for the bleach library, but
they're not correct and cause errors when run on the Tildes codebase.
I've left a comment on the typeshed repo here, so hopefully it will be
resolved before long:
python/typeshed#2709 (comment)

I'll pin mypy's version to the previous version of 0.670 for now to
avoid this, but if the stubs aren't fixed for a while I may need to do
it differently.
  • Loading branch information
Deimos committed Apr 15, 2019
1 parent 2282bd2 commit cd2e3de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tildes/requirements-to-freeze.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ freezegun
gunicorn
html5lib
ipython
mypy
mypy==0.670 # 0.700 includes incorrect bleach stubs
mypy-extensions
Pillow
prometheus-client
Expand Down

0 comments on commit cd2e3de

Please sign in to comment.