Enable PGH in ruff
This commit is contained in:
parent
d55e72e04d
commit
991543046d
1 changed files with 4 additions and 0 deletions
|
|
@ -273,6 +273,8 @@ select = [
|
||||||
# "NPY",
|
# "NPY",
|
||||||
# Perflint => No performance anti-patterns
|
# Perflint => No performance anti-patterns
|
||||||
# "PERF",
|
# "PERF",
|
||||||
|
# pygrep-hooks => Specific "# noqa" and "# type: ignore" comments
|
||||||
|
# "PGH",
|
||||||
# Pylint => Fewer bugs and simpler code
|
# Pylint => Fewer bugs and simpler code
|
||||||
# "PL",
|
# "PL",
|
||||||
# flake8-use-pathlib => `pathlib` instead of `os` functions
|
# flake8-use-pathlib => `pathlib` instead of `os` functions
|
||||||
|
|
@ -577,6 +579,8 @@ select = [
|
||||||
"NPY",
|
"NPY",
|
||||||
# Perflint => No performance anti-patterns
|
# Perflint => No performance anti-patterns
|
||||||
"PERF",
|
"PERF",
|
||||||
|
# pygrep-hooks => Specific "# noqa" and "# type: ignore" comments
|
||||||
|
"PGH",
|
||||||
# Pylint => Fewer bugs and simpler code
|
# Pylint => Fewer bugs and simpler code
|
||||||
"PL",
|
"PL",
|
||||||
# flake8-use-pathlib => `pathlib` instead of `os` functions
|
# flake8-use-pathlib => `pathlib` instead of `os` functions
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue