use ruff linter and formatter

This commit is contained in:
David Lord 2023-11-09 09:20:27 -08:00
parent 6edfd78c9f
commit 54ff9b2972
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
26 changed files with 99 additions and 128 deletions

View file

@ -98,7 +98,7 @@ def test_request_exception_signal():
@app.route("/")
def index():
1 // 0
raise ZeroDivisionError
def record(sender, exception):
recorded.append(exception)
@ -169,7 +169,7 @@ def test_appcontext_tearing_down_signal(app, client):
@app.route("/")
def index():
1 // 0
raise ZeroDivisionError
flask.appcontext_tearing_down.connect(record_teardown, app)
try: