Better format enforcing (#1391)

* Add shared python format-check target

* Add .format-check to api lint target

* Format api code with makefile format target

* Add .format-check to tools lint target

* Add .format-check to analyzer lint target

* Format analyzer code with makefile format target

* Add .format-check to celery lint target

* Add .format-check to api_client lint target

* Format api_client code with makefile format target

* Add .format-check to playout lint target

* Run CI linting in parallel

* Disable isort in pre-commit
This commit is contained in:
Jonas L 2021-10-17 16:24:37 +02:00 committed by GitHub
parent ada4c72e87
commit 30b3470a06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 50 additions and 22 deletions

View file

@ -4,10 +4,11 @@ from datetime import datetime, timedelta, timezone
from django.conf import settings
from django.contrib.auth.models import AnonymousUser
from django.utils import dateparse
from libretimeapi.views import FileViewSet
from model_bakery import baker
from rest_framework.test import APIRequestFactory, APITestCase
from libretimeapi.views import FileViewSet
class TestFileViewSet(APITestCase):
@classmethod