Commit 6c935645 authored by Samuel GAIST's avatar Samuel GAIST Committed by Flavio TARSETTI
Browse files

[code][all] Pre-commit cleanup

parent 887f904b
Pipeline #42566 passed with stage
in 16 minutes and 10 seconds
......@@ -26,16 +26,16 @@
###############################################################################
from django.shortcuts import get_object_or_404
from rest_framework import exceptions as drf_exceptions
from rest_framework import generics
from rest_framework.response import Response
from rest_framework import exceptions as drf_exceptions
from ..common.api import ShareView, RetrieveUpdateDestroyContributionView
from ..common.serializers import DiffSerializer
from ..code.models import Code
from .serializers import CodeSharingSerializer, CodeSerializer
from ..common.api import RetrieveUpdateDestroyContributionView
from ..common.api import ShareView
from ..common.serializers import DiffSerializer
from .serializers import CodeSerializer
from .serializers import CodeSharingSerializer
class ShareCodeView(ShareView):
......
......@@ -27,25 +27,21 @@
from collections import namedtuple
import simplejson
from django.contrib.auth.models import User
from django.db import models
from django.db.models import Q
from django.contrib.auth.models import User
import beat.core.hash
from beat.core.utils import extension_for_language
from ..common import storage
from ..common.exceptions import ShareError
from ..common.models import Contribution
from ..common.models import StoredContribution
from ..common.models import StoredContributionManager
from ..common.exceptions import ShareError
from ..common import storage
from ..team.models import Team
from beat.core.utils import extension_for_language
import beat.core.hash
import simplejson
# ----------------------------------------------------------
......
......@@ -32,13 +32,11 @@ from rest_framework import serializers
from ..common.serializers import ContributionCreationSerializer
from ..common.serializers import ContributionModSerializer
from ..common.serializers import SharingSerializer
from ..common.serializers import ContributionSerializer
from ..common.serializers import DiffSerializer
from ..common.serializers import SharingSerializer
from .models import Code
# ----------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment