-
Notifications
You must be signed in to change notification settings - Fork 2
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
Bump deps #380
base: main
Are you sure you want to change the base?
Conversation
This makes things installable a bit better
I gave my 50cent via chat. The essence of it is: please make sure mypy never ignores wsgidav because it is used to detect if upstream makes incompatible changes to parent classes. So it would be good to avoid ignore_missing_imports. |
I asked gpt if requesting wsgidav to add py.typed is the correct approach. Since wsgidav is actually fully typed. This would allow to remove mymy_fix.py. https://typing.readthedocs.io/en/latest/spec/distributing.html#type-information-in-libraries Above is the current way to make a lib typed. |
Note regarding the `ignore`d super() call: mypy thinks that the `super()` call in `ManabiS3Provider.__init__()` goes to the direct base class `ManabiProvider` and is thus missing the required `root_folder` parameter, but this ain't so: This calls `DAVProvider.__init__()` which doesn't take that param. Then we add a bit of typing sugar and make mypy shut up about missing type information from 3rd party imports. A few smaller issues that mypy finds in CI but not locally are addressed as well.
Introduce a full-blown Ruff config (mostly stolen from Timed) that can replace the full black+isort+flake8(and plugins) suite that was used before. The changes here should not be functional or impact the type system at all (mypy is still there and watches over us)
No description provided.