Skip to content

mypy: disable missing imports warning for httpretty#1412

Merged
TheRealFalcon merged 1 commit into
canonical:mainfrom
cjp256:mypy-httpretty
Apr 27, 2022
Merged

mypy: disable missing imports warning for httpretty#1412
TheRealFalcon merged 1 commit into
canonical:mainfrom
cjp256:mypy-httpretty

Conversation

@cjp256
Copy link
Copy Markdown
Contributor

@cjp256 cjp256 commented Apr 27, 2022

httpretty does not appear to support mypy stubs. Add configuration
to for mypy to ignore this import.

With this we can add checking for test_azure.py.

Signed-off-by: Chris Patterson cpatterson@microsoft.com

httpretty does not appear to support mypy stubs. Add configuration
to for mypy to ignore this import.

With this we can add checking for test_azure.py.

Signed-off-by: Chris Patterson <cpatterson@microsoft.com>
Copy link
Copy Markdown
Contributor

@TheRealFalcon TheRealFalcon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good assuming CI passes. We're hoping to replace httpretty with responses in the near future due to all the httpretty issues we've had.

@TheRealFalcon TheRealFalcon merged commit 2f496d6 into canonical:main Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants