Enable PYI019 and PYI034
This commit is contained in:
parent
e4016db9fe
commit
ef0888619e
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue