Add support for mypy v0.910
- https://mypy-lang.blogspot.com/2021/06/mypy-0910-released.html
- https://mypy-lang.blogspot.com/2021/06/mypy-0900-released.html
With pyproject
configuration support.
Move option to the configuration
- Update to v0.910 in
pyproject.toml
and.pre-commit-config.yml
Install mypy attrs
stubs to check types classes
Mypy v0.900 no longer install additional stubs by default Third-party Library Stubs in Stub Packages (Breaking Change)
attrs
for duniterpy.documents.ws2p.heads
Merge request reports
Activity
Filter activity
changed milestone to %1.0.0
May be we could replace
attrs
by Python standard librarydataclass
.It will avoid to have to load the
attrs
stubs... and removeattrs
dependency completely.Sadly, dataclasses are only supported since Python 3.7. May be its too soon...
Edited by Vincent Texiermentioned in merge request !144 (merged)
mentioned in issue #88 (closed)
Please register or sign in to reply