chore: format files using isort (pre-commit)

This commit is contained in:
jo 2022-11-23 12:11:36 +01:00
commit cff619679b
No known key found for this signature in database
GPG key ID: B2FEC9B22722B984
226 changed files with 483 additions and 735 deletions

View file

@ -1,6 +1,6 @@
import pytest
import uuid
import pytest
from django.urls import reverse
from funkwhale_api.users.oauth import scopes

View file

@ -1,5 +1,4 @@
import pytest
from django import forms
from funkwhale_api.users import models

View file

@ -1,7 +1,6 @@
import pytest
from funkwhale_api.users.oauth import scopes
from funkwhale_api.users.oauth import permissions
from funkwhale_api.users.oauth import permissions, scopes
@pytest.mark.parametrize(

View file

@ -1,4 +1,5 @@
from oauth2_provider import models
from funkwhale_api.users.oauth import tasks

View file

@ -1,6 +1,6 @@
import json
import pytest
import pytest
from django.urls import reverse
from funkwhale_api.users import models

View file

@ -1,5 +1,4 @@
import pytest
from django.core import signing
from funkwhale_api.users import authentication

View file

@ -1,5 +1,4 @@
from django.contrib.auth import get_backends
from django_auth_ldap import backend

View file

@ -1,10 +1,10 @@
import datetime
import pytest
import pytest
from django.urls import reverse
from funkwhale_api.users import models
from funkwhale_api.federation import utils as federation_utils
from funkwhale_api.users import models
def test__str__(factories):

View file

@ -1,7 +1,6 @@
import pytest
from django.urls import reverse
from django.test import Client
from django.urls import reverse
from funkwhale_api.common import serializers as common_serializers
from funkwhale_api.common import utils as common_utils