Sort imports with isort
This commit is contained in:
16
models.py
16
models.py
@@ -1,10 +1,14 @@
|
||||
from config import conf
|
||||
from peewee import MySQLDatabase
|
||||
from peewee import SqliteDatabase
|
||||
from peewee import Model
|
||||
from peewee import AutoField, DateField, IntegerField
|
||||
from peewee import (
|
||||
AutoField,
|
||||
DateField,
|
||||
IntegerField,
|
||||
IntegrityError,
|
||||
Model,
|
||||
MySQLDatabase,
|
||||
SqliteDatabase,
|
||||
)
|
||||
|
||||
from peewee import IntegrityError
|
||||
from config import conf
|
||||
|
||||
backend = conf["db"].get("backend", None)
|
||||
if backend == "sqlite":
|
||||
|
||||
Reference in New Issue
Block a user