File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ tests-no-zope = [
43
43
" pytest-xdist[psutil]" ,
44
44
# Since the mypy error messages keep changing, we have to keep updating this
45
45
# pin.
46
- ' mypy>=0.991,< 1.1.1; python_implementation == "CPython"' ,
46
+ ' mypy>=1.1.1; python_implementation == "CPython"' ,
47
47
' pytest-mypy-plugins; python_implementation == "CPython" and python_version<"3.11"' ,
48
48
]
49
49
tests = [" attrs[tests-no-zope]" , " zope.interface" ]
Original file line number Diff line number Diff line change 177
177
main : |
178
178
import attr
179
179
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 ]
181
181
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 ]
183
183
184
184
- case : testAttrsInitFalse
185
185
main : |
You can’t perform that action at this time.
0 commit comments