File tree Expand file tree Collapse file tree 4 files changed +4
-10
lines changed
src/mock_vws/_flask_server Expand file tree Collapse file tree 4 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ flake8==3.8.4 # Lint
1414freezegun == 1.1.0 # Freeze time in tests
1515isort == 5.7.0 # Lint imports
1616keyring == 22.0.1
17- mypy == 0.790 # Type checking
17+ mypy == 0.800 # Type checking
1818pip_check_reqs == 2.1.1
1919pydocstyle == 5.1.1 # Lint docstrings
2020pyenchant == 3.2.0 # Bindings for a spellchecking sytem
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ fix-black:
1818
1919.PHONY : mypy
2020mypy :
21- mypy * .py src/ tests/ docs/source/ admin ci/
21+ mypy .
2222
2323.PHONY : check-manifest
2424check-manifest :
Original file line number Diff line number Diff line change @@ -69,10 +69,7 @@ class ResponseNoContentTypeAdded(Response):
6969 Without this, a content type is added to all responses.
7070 Some of our responses need to not have a "Content-Type" header.
7171 """
72-
73- # When https://github.com/python/typeshed/pull/4563 is shipped in a future
74- # release of mypy, we can remove this ignore.
75- default_mimetype = None # type: ignore
72+ default_mimetype = None
7673
7774
7875CLOUDRECO_FLASK_APP .response_class = ResponseNoContentTypeAdded
Original file line number Diff line number Diff line change @@ -52,10 +52,7 @@ class ResponseNoContentTypeAdded(Response):
5252 Without this, a content type is added to all responses.
5353 Some of our responses need to not have a "Content-Type" header.
5454 """
55-
56- # When https://github.com/python/typeshed/pull/4563 is shipped in a future
57- # release of mypy, we can remove this ignore.
58- default_mimetype = None # type: ignore
55+ default_mimetype = None
5956
6057
6158VWS_FLASK_APP .response_class = ResponseNoContentTypeAdded
You can’t perform that action at this time.
0 commit comments