Enable PyTest ruff checks
This commit is contained in:
parent
4655300910
commit
d7d1f42b2c
11 changed files with 42 additions and 37 deletions
|
|
@ -82,7 +82,9 @@ def git_repo(temp_dir):
|
|||
_git("add -A")
|
||||
_git("commit -m 'message2'")
|
||||
|
||||
yield temp_dir
|
||||
# Yielding here as temdir is yielding and we want to stay in the tempdir
|
||||
# context manager. Silencing ruff saying it should be return.
|
||||
yield temp_dir # noqa: PT022
|
||||
|
||||
|
||||
def test_version_data_git_and_toml(mocker, git_repo):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue