-
Notifications
You must be signed in to change notification settings - Fork 462
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extract code quality GHA to is own job
- Loading branch information
Showing
7 changed files
with
578 additions
and
510 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,7 +93,7 @@ def test_post_should_send_email_to_custom_user_with_password_reset_link( | |
AUTH_USER_MODEL="testapp.CustomUser", | ||
DJOSER=dict(settings.DJOSER, **{"PASSWORD_RESET_SHOW_EMAIL_NOT_FOUND": True}), | ||
) | ||
def test_post_should_return_bad_request_with_custom_email_field_if_user_does_not_exist( # NOQA: 501 | ||
def test_post_should_return_bad_request_with_custom_email_field_if_user_does_not_exist( # NOQA: E501 | ||
self, | ||
): | ||
data = {"custom_email": "[email protected]"} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,7 +96,7 @@ def test_post_should_send_email_to_custom_user_with_username_reset_link( | |
AUTH_USER_MODEL="testapp.CustomUser", | ||
DJOSER=dict(settings.DJOSER, **{"USERNAME_RESET_SHOW_EMAIL_NOT_FOUND": True}), | ||
) | ||
def test_post_should_return_bad_request_with_custom_email_field_if_user_does_not_exist( # NOQA: 501 | ||
def test_post_should_return_bad_request_with_custom_email_field_if_user_does_not_exist( # NOQA: E501 | ||
self, | ||
): | ||
data = {"custom_email": "[email protected]"} | ||
|