pre-commit: Add ruff to replace bandit, flake8, isort, and pyupgrade (#1210)

* pre-commit: Add ruff to replace bandit, flake8, isort, and pyupgrade

* Upgrade ruff

* Update .pre-commit-config.yaml

* Update .pre-commit-config.yaml

* Update .pre-commit-config.yaml
This commit is contained in:
Christian Clauss
2023-03-06 15:20:08 +01:00
committed by GitHub
parent 71d24a445e
commit 7ffe6a598e
7 changed files with 58 additions and 42 deletions

View File

@@ -52,7 +52,7 @@ class TestExamples(PyScriptTest):
else:
time.sleep(1)
else:
assert False, "Espresso time not found :("
raise AssertionError("Espresso time not found :(")
self.assert_no_banners()
self.check_tutor_generated_code()