Skip to content

Conversation

@Akuli
Copy link
Collaborator

@Akuli Akuli commented May 6, 2021

Fixes #4360

@github-actions
Copy link
Contributor

github-actions bot commented May 6, 2021

Diff from mypy_primer, showing the effect of this PR on open source code:

streamlit (https://github.com/streamlit/streamlit.git)
+ lib/streamlit/hashing.py: note: At top level:
+ lib/streamlit/hashing.py:687: error: unused 'type: ignore' comment

1 similar comment
@github-actions
Copy link
Contributor

github-actions bot commented May 6, 2021

Diff from mypy_primer, showing the effect of this PR on open source code:

streamlit (https://github.com/streamlit/streamlit.git)
+ lib/streamlit/hashing.py: note: At top level:
+ lib/streamlit/hashing.py:687: error: unused 'type: ignore' comment

@JelleZijlstra
Copy link
Member

Would be nice if we could disable the pyright check against module-level __getattr__ instead of excluding every stub where it appears.

@github-actions
Copy link
Contributor

github-actions bot commented May 6, 2021

Diff from mypy_primer, showing the effect of this PR on open source code:

streamlit (https://github.com/streamlit/streamlit.git)
+ lib/streamlit/hashing.py: note: At top level:
+ lib/streamlit/hashing.py:687: error: unused 'type: ignore' comment

@github-actions
Copy link
Contributor

github-actions bot commented May 6, 2021

Diff from mypy_primer, showing the effect of this PR on open source code:

streamlit (https://github.com/streamlit/streamlit.git)
+ lib/streamlit/hashing.py: note: At top level:
+ lib/streamlit/hashing.py:687: error: unused 'type: ignore' comment

@Akuli Akuli merged commit 97101b1 into python:master May 6, 2021
@Akuli Akuli deleted the main branch May 6, 2021 15:57
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.

How to type annotate __main__?

2 participants