Skip to content

Conversation

@AlexWaygood
Copy link
Member

Fixes#7833

@github-actions
Copy link
Contributor

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

sphinx (https://github.com/sphinx-doc/sphinx) + sphinx/util/logging.py:80: error: Unused "type: ignore" comment+ sphinx/util/logging.py:434: error: Unused "type: ignore" comment

@JelleZijlstraJelleZijlstra merged commit 1aa5663 into masterJun 12, 2022
@JelleZijlstraJelleZijlstra deleted the logrecord branch June 12, 2022 19:04
DMRobertson pushed a commit to matrix-org/synapse that referenced this pull request Aug 12, 2022
DMRobertson pushed a commit to matrix-org/synapse that referenced this pull request Aug 12, 2022
DMRobertson pushed a commit to matrix-org/synapse that referenced this pull request Aug 12, 2022
DMRobertson pushed a commit to matrix-org/synapse that referenced this pull request Sep 28, 2022
DMRobertson pushed a commit to matrix-org/synapse that referenced this pull request Sep 30, 2022
DMRobertson pushed a commit to matrix-org/synapse that referenced this pull request Sep 30, 2022
* Update mypy and mypy-zope * Unignore assigning to LogRecord attributes Presumably python/typeshed#8064 makes this ok Cherry-picked from #13521 * Remove unused ignores due to mypy ParamSpec fixespython/mypy#12668 Cherry-picked from #13521 * Remove additional unused ignores * Fix new mypy complaints related to `assertGreater` Presumably due to python/typeshed#8077 * Changelog * Reword changelog Co-authored-by: Patrick Cloke <[email protected]> Co-authored-by: Patrick Cloke <[email protected]>
Sign up for freeto 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.

Documented pattern for adding contextual information to LogRecord objects fails type checking

3 participants

@AlexWaygood@JelleZijlstra