[pre-commit.ci] pre-commit autoupdate (#9168)

* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.254 → v0.0.257](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.254...v0.0.257)
- [github.com/codespell-project/codespell: v2.2.2 → v2.2.4](https://github.com/codespell-project/codespell/compare/v2.2.2...v2.2.4)

* pre-commit: fix ruff errors

* pre-commit: fix flake8

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: David de la Iglesia Castro <[email protected]>
This commit is contained in:
pre-commit-ci[bot]
2023-03-23 13:05:31 +00:00
committed by GitHub
co-authored by David de la Iglesia Castro
parent f8bbf20b77
commit 48b56c83dc
15 changed files with 28 additions and 29 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ def test_init_quiet_should_not_display_welcome_screen(tmp_dir, scm, caplog):
ret = main(["init", "--quiet"])
assert ret == 0
assert caplog.text == ""
assert not caplog.text
def test_allow_init_dvc_subdir(tmp_dir, scm, monkeypatch):