This PR (finally) enables ruff's D code for pydocstyle lint rules.
Consequently, it fixes all the resulting warnings.
Additionally, it adds rules for favoring collections.abc over typing where appropriate.
Checklist:
[x] The pull request only contains commits that are related to it.
[x] I have added appropriate tests and documentation.
[x] I have made sure that all CI jobs on GitHub pass.
[x] The pull request introduces no new warnings and follows the project's style guidelines.
Description
This PR (finally) enables ruff's
D
code forpydocstyle
lint rules. Consequently, it fixes all the resulting warnings. Additionally, it adds rules for favoringcollections.abc
overtyping
where appropriate.Checklist: