diff --git a/pyproject.toml b/pyproject.toml index 92c28e4..28d62be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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