Skip to content

Commit

Permalink
black format with right version
Browse files Browse the repository at this point in the history
  • Loading branch information
williadav committed Nov 12, 2024
1 parent bbedd8f commit 2bdc017
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion chemie/chemie/cron_wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ def send_queued_mail(num):
"""Send queued mail every 10 seconds"""
call_command("send_queued_mail", processes=1)


except ImportError:
print("uwsgidecorators not found. Cron and timers are disabled")
2 changes: 1 addition & 1 deletion chemie/shop/tests/test_permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from django.shortcuts import reverse
from chemie.shop.urls import urlpatterns

MAX_AMOUNT = 10 ** 4
MAX_AMOUNT = 10**4


# --------------------------------- #
Expand Down
4 changes: 1 addition & 3 deletions chemie/wordlist/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ class AbstractWord(models.Model):
)

class Meta: # Viktig for å kunne lage fields i subclasses (Noun, Verb, Adjective, Word) som ikkje skal komme i konflikt med AbstractWord
abstract = (
True
) # Definerer den som en kun abstract class, fordi det aldri vil eksisterer et objekt i AbstractWord
abstract = True # Definerer den som en kun abstract class, fordi det aldri vil eksisterer et objekt i AbstractWord


class Noun(AbstractWord):
Expand Down

0 comments on commit 2bdc017

Please sign in to comment.