Skip to content

Commit 85ee398

Browse files
authored
feat: add perflint to find performance anti-patterns (#675)
1 parent bb6a0d1 commit 85ee398

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ dev = [
4747
"mypy >=0.921,<1.8",
4848
"pip-audit >=2.4.4,<3.0.0",
4949
"pylint >=2.9.3,<3.0.3",
50+
"perflint >=0.7.3,<1.0.0",
5051
"cyclonedx-bom >=3.11.0,<4.0.0",
5152
]
5253
docs = [
@@ -172,6 +173,9 @@ ignore_missing_imports = true
172173
# https://pylint.pycqa.org/en/latest/user_guide/configuration/index.html
173174
[tool.pylint.MASTER]
174175
fail-under = 10.0
176+
load-plugins = [
177+
"perflint", # A Linter for performance anti-patterns.
178+
]
175179
disable = [
176180
"fixme",
177181
"line-too-long", # Replaced by Flake8 Bugbear B950 check.

0 commit comments

Comments
 (0)