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

@ -41,10 +41,10 @@ def test_method_based_view(app):
def test_view_patching(app):
class Index(flask.views.MethodView):
def get(self):
1 // 0
raise ZeroDivisionError
def post(self):
1 // 0
raise ZeroDivisionError
class Other(Index):
def get(self):