Skip to content

Commit

Permalink
isort fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thelostone-mc committed Jun 3, 2019
1 parent 36bae4a commit 10e8e29
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions app/dashboard/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@

from .models import (
Activity, BlockedUser, Bounty, BountyFulfillment, BountyInvites, BountySyncRequest, CoinRedemption,
CoinRedemptionRequest, FeedbackEntry, HackathonEvent, Interest, LabsResearch, Profile, RefundFeeRequest,
SearchHistory, Tip, TokenApproval, Tool, ToolVote, UserAction, UserVerificationModel, Coupon
CoinRedemptionRequest, Coupon, FeedbackEntry, HackathonEvent, Interest, LabsResearch, Profile, RefundFeeRequest,
SearchHistory, Tip, TokenApproval, Tool, ToolVote, UserAction, UserVerificationModel,
)


Expand Down Expand Up @@ -293,4 +293,4 @@ def link(self, instance):
admin.site.register(LabsResearch)
admin.site.register(UserVerificationModel, VerificationAdmin)
admin.site.register(RefundFeeRequest, RefundFeeRequestAdmin)
admin.site.register(Coupon, CouponAdmin)
admin.site.register(Coupon, CouponAdmin)
4 changes: 2 additions & 2 deletions app/dashboard/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@

from app.utils import get_semaphore, sync_profile
from dashboard.models import (
Activity, Bounty, BountyDocuments, BountyFulfillment, BountyInvites, BountySyncRequest, HackathonEvent, UserAction,
Coupon,
Activity, Bounty, BountyDocuments, BountyFulfillment, BountyInvites, BountySyncRequest, Coupon, HackathonEvent,
UserAction,
)
from dashboard.notifications import (
maybe_market_to_email, maybe_market_to_github, maybe_market_to_slack, maybe_market_to_twitter,
Expand Down
4 changes: 2 additions & 2 deletions app/dashboard/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
from django.contrib.auth.signals import user_logged_in, user_logged_out
from django.contrib.humanize.templatetags.humanize import naturalday, naturaltime
from django.contrib.postgres.fields import ArrayField, JSONField
from django.core.validators import MaxValueValidator, MinValueValidator
from django.db import models
from django.db.models import Q, Sum
from django.db.models.signals import m2m_changed, post_delete, post_save, pre_save
from django.core.validators import MinValueValidator, MaxValueValidator
from django.dispatch import receiver
from django.forms.models import model_to_dict
from django.templatetags.static import static
Expand Down Expand Up @@ -3136,4 +3136,4 @@ class Coupon(SuperModel):

def __str__(self):
"""Return the string representation of Coupon."""
return f'code: {self.code} | fee: {self.fee_percentage} %'
return f'code: {self.code} | fee: {self.fee_percentage} %'
4 changes: 2 additions & 2 deletions app/dashboard/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@

from .helpers import get_bounty_data_for_activity, handle_bounty_views
from .models import (
Activity, Bounty, BountyDocuments, BountyFulfillment, BountyInvites, CoinRedemption, CoinRedemptionRequest,
Activity, Bounty, BountyDocuments, BountyFulfillment, BountyInvites, CoinRedemption, CoinRedemptionRequest, Coupon,
FeedbackEntry, HackathonEvent, Interest, LabsResearch, Profile, ProfileSerializer, RefundFeeRequest, Subscription,
Tool, ToolVote, UserAction, UserVerificationModel, Coupon,
Tool, ToolVote, UserAction, UserVerificationModel,
)
from .notifications import (
maybe_market_tip_to_email, maybe_market_tip_to_github, maybe_market_tip_to_slack, maybe_market_to_email,
Expand Down

0 comments on commit 10e8e29

Please sign in to comment.