Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trunk is failing mypy due to Hypothesis 6.85 #11995

Closed
graingert opened this issue Sep 19, 2023 · 0 comments · Fixed by #11994
Closed

trunk is failing mypy due to Hypothesis 6.85 #11995

graingert opened this issue Sep 19, 2023 · 0 comments · Fixed by #11994

Comments

@graingert
Copy link
Member

mypy fails with:

src/twisted/python/test/strategies.py:29:34: error: Argument "blacklist_categories" to "characters" has incompatible type "tuple[str]"; expected "Collection[Literal['L', 'Lu', 'Ll', 'Lt', 'Lm', 'Lo', 'M', 'Mn', 'Mc', 'Me', 'N', 'Nd', 'Nl', 'No', 'P', 'Pc', 'Pd', 'Ps', 'Pe', 'Pi', 'Pf', 'Po', 'S', 'Sm', 'Sc', 'Sk', 'So', 'Z', 'Zs', 'Zl', 'Zp', 'C', 'Cc', 'Cf', 'Cs', 'Co', 'Cn']] | None"  [arg-type]
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 a pull request may close this issue.

1 participant