Skip to content

Commit

Permalink
Ignore async functions without await in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vadim-su committed May 19, 2024
1 parent f9b59e9 commit d77be8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,6 @@ dmypy.json
# Cython debug symbols
cython_debug/

# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

# ruff
.ruff_cache/

Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ ignore = [
"PLC0208",
# We allow some magic values in the tests. It's acceptable
"PLR2004",
# We allow async function without await in tests
"RUF029"
]

[tool.ruff.lint.flake8-quotes]
Expand Down

0 comments on commit d77be8b

Please sign in to comment.