[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-01-15 20:33:01 +00:00
parent a9e3907ed3
commit aa28116197
3 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ from purchase.models import (
class Command(BaseCommand):
help = "Clear all data" # noqa: A003
help = "Clear all data"
def handle(self, *args, **options): # noqa: ARG002
self.delete(BasketItem)

View file

@ -11,7 +11,7 @@ from purchase.models import Basket, BasketItem, Cache, PaymentMethod, Product
class Command(BaseCommand):
help = "Generates dummy baskets" # noqa: A003
help = "Generates dummy baskets"
def handle(self, *args, **options): # noqa: ARG002
call_command("loaddata", ["payment_methods", "products"])

View file

@ -4,7 +4,7 @@ from purchase.models import Cache
class Command(BaseCommand):
help = "Refresh cache" # noqa: A003
help = "Refresh cache"
def handle(self, *args, **options): # noqa: ARG002
Cache.get_solo().refresh()