Files
smart-farm-africastalking-h…/Backend/__init__.py
T
deepsource-autofix[bot] 21359873ce Format code with yapf and autopep8
This commit fixes the style issues introduced in 6a2226c according to the output
from yapf and autopep8.

Details: https://deepsource.io/gh/0x6f736f646f/smart-farm-africastalking-hackathon/transform/44b76b1e-167c-4f9c-bd5d-14b5e5589b20/
2021-10-03 11:12:33 +00:00

11 lines
257 B
Python

from app import routes, models
from flask import Flask
from config import Config
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
app = Flask(__name__)
app.config.from_object(Config)
db = SQLAlchemy(app)
migrate = Migrate(app, db)