Skip to content

Commit

Permalink
feat: add perflint to find performance anti-patterns (#675)
Browse files Browse the repository at this point in the history
  • Loading branch information
behnazh authored Jan 2, 2024
1 parent bb6a0d1 commit 85ee398
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ dev = [
"mypy >=0.921,<1.8",
"pip-audit >=2.4.4,<3.0.0",
"pylint >=2.9.3,<3.0.3",
"perflint >=0.7.3,<1.0.0",
"cyclonedx-bom >=3.11.0,<4.0.0",
]
docs = [
Expand Down Expand Up @@ -172,6 +173,9 @@ ignore_missing_imports = true
# https://pylint.pycqa.org/en/latest/user_guide/configuration/index.html
[tool.pylint.MASTER]
fail-under = 10.0
load-plugins = [
"perflint", # A Linter for performance anti-patterns.
]
disable = [
"fixme",
"line-too-long", # Replaced by Flake8 Bugbear B950 check.
Expand Down

0 comments on commit 85ee398

Please sign in to comment.