mirror of
https://github.com/rodneyosodo/smart-farm-africastalking-hackathon.git
synced 2026-06-23 04:10:17 +00:00
21359873ce
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/
14 lines
258 B
Python
14 lines
258 B
Python
import os
|
|
from flask_script import Manager
|
|
from flask_migrate import Migrate, MigrateCommand
|
|
|
|
from app import app, db
|
|
|
|
migrate = Migrate(app, db)
|
|
manager = Manager(app)
|
|
|
|
manager.add_command('db', MigrateCommand)
|
|
|
|
if __name__ == '__main__':
|
|
manager.run()
|