Add isort pre-commit hook

Sort import statement in python files

See https://github.com/PyCQA/isort
This commit is contained in:
jo 2021-06-03 15:20:39 +02:00
parent b75d9e5c59
commit 01fbd1e8b9
75 changed files with 282 additions and 232 deletions
api/libretimeapi

View file

@ -1,6 +1,8 @@
import logging
from django.contrib.auth.models import Group, Permission
from .models.user_constants import GUEST, DJ, PROGRAM_MANAGER, USER_TYPES
from .models.user_constants import DJ, GUEST, PROGRAM_MANAGER, USER_TYPES
logger = logging.getLogger(__name__)