Compare commits

..

3 commits

Author SHA1 Message Date
pre-commit-ci[bot]
e9d01f077e
Merge aa28116197 into dd55fe6d9c 2024-01-15 20:33:05 +00:00
pre-commit-ci[bot]
aa28116197 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-01-15 20:33:02 +00:00
pre-commit-ci[bot]
a9e3907ed3
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.9 → v0.1.13](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.9...v0.1.13)
- [github.com/pre-commit/mirrors-eslint: v8.56.0 → v9.0.0-alpha.1](https://github.com/pre-commit/mirrors-eslint/compare/v8.56.0...v9.0.0-alpha.1)
- [github.com/tox-dev/pyproject-fmt: 1.5.3 → 1.6.0](https://github.com/tox-dev/pyproject-fmt/compare/1.5.3...1.6.0)
2024-01-15 20:32:15 +00:00
4 changed files with 6 additions and 6 deletions

View file

@ -40,7 +40,7 @@ repos:
hooks: hooks:
- id: djhtml - id: djhtml
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.11 rev: v0.1.13
hooks: hooks:
- id: ruff - id: ruff
args: [--fix] args: [--fix]
@ -50,7 +50,7 @@ repos:
- id: prettier - id: prettier
types_or: [javascript, css] types_or: [javascript, css]
- repo: https://github.com/pre-commit/mirrors-eslint - repo: https://github.com/pre-commit/mirrors-eslint
rev: v9.0.0-alpha.0 rev: v9.0.0-alpha.1
hooks: hooks:
- id: eslint - id: eslint
args: [--fix] args: [--fix]
@ -59,7 +59,7 @@ repos:
- eslint@8.36.0 - eslint@8.36.0
- eslint-config-prettier@8.5.0 - eslint-config-prettier@8.5.0
- repo: https://github.com/tox-dev/pyproject-fmt - repo: https://github.com/tox-dev/pyproject-fmt
rev: 1.5.3 rev: 1.6.0
hooks: hooks:
- id: pyproject-fmt - id: pyproject-fmt
- repo: https://github.com/jazzband/pip-tools - repo: https://github.com/jazzband/pip-tools

View file

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

View file

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

View file

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