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,7 @@
import click
import functools
import click
@click.group()
def cli():

View file

@ -1,13 +1,13 @@
import click
import sys
from . import base
import click
from rest_framework.exceptions import ValidationError
from . import library # noqa
from . import media # noqa
from . import plugins # noqa
from . import users # noqa
from rest_framework.exceptions import ValidationError
from . import base
def invoke():

View file

@ -1,11 +1,9 @@
import click
from django.core.cache import cache
from django.conf import settings
from django.core.cache import cache
from django.core.files.storage import default_storage
from versatileimagefield.image_warmer import VersatileImageFieldWarmer
from versatileimagefield import settings as vif_settings
from versatileimagefield.image_warmer import VersatileImageFieldWarmer
from funkwhale_api.common import utils as common_utils
from funkwhale_api.common.models import Attachment

View file

@ -5,7 +5,6 @@ import sys
import click
from django.conf import settings
from . import base

View file

@ -1,14 +1,10 @@
import click
from django.db import transaction
from funkwhale_api.federation import models as federation_models
from funkwhale_api.users import models
from funkwhale_api.users import serializers
from funkwhale_api.users import tasks
from funkwhale_api.users import models, serializers, tasks
from . import base
from . import utils
from . import base, utils
class FakeRequest(object):