Skip to content

Commit

Permalink
Allow asserts in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Sep 7, 2024
1 parent 7b0ac9a commit 12a1aa2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ lint.ignore = [
"E221", # Multiple spaces before operator
"E226", # Missing whitespace around arithmetic operator
"E241", # Multiple spaces after ','
"S101", # Use of assert detected
]
lint.per-file-ignores."tests/**/*.py" = [
"S101", # Asserts allowed in tests
]
lint.flake8-import-conventions.aliases.datetime = "dt"
lint.flake8-import-conventions.banned-from = [ "datetime" ]
Expand Down

0 comments on commit 12a1aa2

Please sign in to comment.