File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ tests-no-zope = [
4343 " pytest-xdist[psutil]" ,
4444 # Since the mypy error messages keep changing, we have to keep updating this
4545 # pin.
46- ' mypy>=0.991,< 1.1.1; python_implementation == "CPython"' ,
46+ ' mypy>=1.1.1; python_implementation == "CPython"' ,
4747 ' pytest-mypy-plugins; python_implementation == "CPython" and python_version<"3.11"' ,
4848]
4949tests = [" attrs[tests-no-zope]" , " zope.interface" ]
Original file line number Diff line number Diff line change 177177 main : |
178178 import attr
179179 x = True
180- @attr.s(cmp=x) # E: "cmp" argument must be True or False. [misc ]
180+ @attr.s(cmp=x) # E: "cmp" argument must be a True, False, or None literal [literal-required ]
181181 class A:
182- a = attr.ib(init=x) # E: "init" argument must be True or False. [misc ]
182+ a = attr.ib(init=x) # E: "init" argument must be a True or False literal [literal-required ]
183183
184184 - case : testAttrsInitFalse
185185 main : |
You can’t perform that action at this time.
0 commit comments