Skip to content

Conversation

@dixith
Copy link
Contributor

@dixith dixith commented Apr 22, 2021

Description

This pull request fixes issue reported in #7445 for errors related to NewType, TypeVar, namedTuple and TypedDict

Test Plan

Updated test cases for the message. New test cases not added.

@github-actions
Copy link
Contributor

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

paasta (https://github.com/yelp/paasta.git)
- paasta_tools/iptables.py:23: error: First argument to namedtuple() should be '_RuleBase', not 'Rule'
+ paasta_tools/iptables.py:23: error: First argument to namedtuple() should be "_RuleBase", not "Rule"

manticore (https://github.com/trailofbits/manticore.git)
- manticore/native/cpu/x86.py:147: error: First argument to namedtuple() should be 'Regspec', not 'RegSpec'
+ manticore/native/cpu/x86.py:147: error: First argument to namedtuple() should be "Regspec", not "RegSpec"
- manticore/native/cpu/aarch64.py:43: error: First argument to namedtuple() should be 'Condspec', not 'CondSpec'
+ manticore/native/cpu/aarch64.py:43: error: First argument to namedtuple() should be "Condspec", not "CondSpec"
- manticore/native/cpu/aarch64.py:78: error: First argument to namedtuple() should be 'Regspec', not 'RegSpec'
+ manticore/native/cpu/aarch64.py:78: error: First argument to namedtuple() should be "Regspec", not "RegSpec"

@JelleZijlstra JelleZijlstra merged commit d326952 into python:master Apr 22, 2021
@dixith dixith deleted the double-quotes-errors-6 branch April 23, 2021 04:03
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