Skip to content

Commit

Permalink
add banned apis
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Aug 20, 2024
1 parent 3229aa2 commit 7d6f7cb
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 @@ -92,3 +92,7 @@ ignore = [
"NPY002", # new numpy random syntax is worse
]
flake8-implicit-str-concat.allow-multiline=false

[tool.ruff.lint.flake8-tidy-imports.banned-api]
"pytest.main".msg = "pytest.main requires special handling that is easy to mess up!"
"unittest".msg = "Use pytest"

0 comments on commit 7d6f7cb

Please sign in to comment.