modern-python / that-depends

Simple DI-framework with IOC-container inspired by python-dependency-injector
https://that-depends.readthedocs.io/
MIT License
158 stars 12 forks source link

Update mypy from 1.10 to 1.13 #108

Open vrslev opened 6 days ago

vrslev commented 6 days ago

I've tried to update mypy when working on #107, but it failed omitted a some diagnostics:

Screenshot 2024-10-27 at 12 08 56
alexanderlazarev0 commented 3 days ago

@lesnik512 Don't think we would be able to fix the 'expected P.args' and 'expected P.kwargs' issues, since these occur when we inject the dependencies. So should we just ignore those? The other ones should be resolvable...

lesnik512 commented 3 days ago

@alexanderlazarev0 @vrslev Yes, expected P.args and P.kwargs we can ignore.

The other part I saw, but didn't found solution yet, so that's why mypy version is locked for now