Make mypy as strict as practical #13

Merged
alexander merged 32 commits from stricter-mypy into develop 2026-12-01 14:26:52 +01:00
Showing only changes of commit ef0888619e - Show all commits

Enable PYI019 and PYI034

Alexander Hess 2026-12-01 11:03:56 +01:00
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -301,6 +301,8 @@ select = [
# "PL",
# flake8-use-pathlib => `pathlib` instead of `os` functions
# "PTH",
# flake8-pyi (only two codes) => `t.Self` instead of the class name
# "PYI019", "PYI034",
# Ruff-specific rules => Fewer bugs and cleaner code
# "RUF",
# flake8-self => No access to private members from outside
@ -646,6 +648,8 @@ select = [
"PL",
# flake8-use-pathlib => `pathlib` instead of `os` functions
"PTH",
# flake8-pyi (only two codes) => `t.Self` instead of the class name
"PYI019", "PYI034",
# Ruff-specific rules => Fewer bugs and cleaner code
"RUF",
# flake8-self => No access to private members from outside