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

@ -31,12 +31,13 @@ def create_app(test_config=None):
return "Hello, World!"
# register the database commands
from flaskr import db
from . import db
db.init_app(app)
# apply the blueprints to the app
from flaskr import auth, blog
from . import auth
from . import blog
app.register_blueprint(auth.bp)
app.register_blueprint(blog.bp)