Enable PYI019 and PYI034

This commit is contained in:
Alexander Hess 2026-12-01 11:03:56 +01:00
commit ef0888619e
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