Skip to content

Commit

Permalink
fix ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
hvlads committed Jul 28, 2024
1 parent bfc19eb commit c1e801b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions example/blog/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ def authenticated_user(db): # noqa: ARG001
def staff_user(db): # noqa: ARG001
return User.objects.create_user(
username="staffuser",
password="12345",
is_staff=True, # noqa: S106
password="12345", # noqa: S106
is_staff=True,
)
2 changes: 1 addition & 1 deletion example/blog/tests/test_upload_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
def test_upload_file(admin_client, file):
with file as upload:
upload_view_name = getattr(
settings, "CK_EDITOR_5_UPLOAD_FILE_VIEW_NAME", "ck_editor_5_upload_file"
settings, "CK_EDITOR_5_UPLOAD_FILE_VIEW_NAME", "ck_editor_5_upload_file",
)
response = admin_client.post(
reverse(upload_view_name),
Expand Down

0 comments on commit c1e801b

Please sign in to comment.