Skip to content

Commit

Permalink
Only ignore "S101 - use of assert" in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jams2 committed Feb 19, 2024
1 parent f3bde39 commit 6109d79
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ target-version = "py38"
[lint]
ignore = [
"E501", # line too long
"S101", # flake8-bandit Use of assert detected
]

extend-select = [
Expand All @@ -23,5 +22,10 @@ extend-select = [
"W", # pycodestyle warnings
]

[lint.extend-per-file-ignores]
"tests/test_*.py" = [
"S101", # flake8-bandit Use of assert detected
]

[lint.isort]
known-first-party = ["src"]

0 comments on commit 6109d79

Please # to comment.