Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 22, 2024
1 parent fadfcbe commit ca0bc01
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion repl.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

sys.exit(
check_call(
[ # noqa: S603
[
os.path.join(base_dir, "manage.py"), # noqa: PTH118
"shell",
*sys.argv[1:],
Expand Down
4 changes: 2 additions & 2 deletions system_meta/views_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def test_update( # noqa: PLR0913
),
],
)
def test_delete( # noqa: PLR0913
def test_delete(
self, is_logged_in, use_staff_user, client, user_client, staff_client
):
"""Test that the viewset can delete an object."""
Expand Down Expand Up @@ -309,7 +309,7 @@ def test_update( # noqa: PLR0913
),
],
)
def test_delete( # noqa: PLR0913
def test_delete(
self, is_logged_in, use_staff_user, client, user_client, staff_client
):
"""Test that the viewset can delete an object."""
Expand Down
2 changes: 1 addition & 1 deletion unified_ecommerce/celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "unified_ecommerce.settings")

from django.conf import settings # noqa: E402
from django.conf import settings

app = Celery("unified_ecommerce")
app.config_from_object("django.conf:settings", namespace="CELERY")
Expand Down
2 changes: 1 addition & 1 deletion unified_ecommerce/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ def _test_retrieval(self, api_client, url, url_name, **kwargs): # noqa: ARG002
assert response.status_code < 500
return response

def _determine_client_wrapper( # noqa: PLR0913
def _determine_client_wrapper(
self, is_logged_in, use_staff_user, client, user_client, staff_client
):
"""
Expand Down

0 comments on commit ca0bc01

Please sign in to comment.