Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not import from unpackaged paths in typing #1926

Merged
merged 1 commit into from Apr 26, 2021

Conversation

nakato
Copy link
Contributor

@nakato nakato commented Apr 23, 2021

The tests path is not part of the shipped project, thus this type cannot
be checked by users of this project.

The correct type in place of the type imported from tests appears to be
Optional[
Union[HTTPRequestsConnectionClass, HTTPSRequestsConnectionClass]
]

The tests path is not part of the shipped project, thus this type cannot
be checked by users of this project.

The correct type in place of the type imported from tests appears to be
Optional[
    Union[HTTPRequestsConnectionClass, HTTPSRequestsConnectionClass]
]
@codecov-commenter
Copy link

Codecov Report

Merging #1926 (5b40ab1) into master (babcbcd) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1926   +/-   ##
=======================================
  Coverage   98.86%   98.86%           
=======================================
  Files         108      108           
  Lines       11060    11060           
=======================================
  Hits        10934    10934           
  Misses        126      126           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update babcbcd...5b40ab1. Read the comment docs.

@s-t-e-v-e-n-k s-t-e-v-e-n-k merged commit 27ba783 into PyGithub:master Apr 26, 2021
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.

None yet

3 participants