Skip to content

Commit

Permalink
Update backends.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fopina authored Nov 16, 2024
1 parent d400356 commit c851936
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dojo/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ class Saml2Backend(_Saml2Backend):
def group_re(self):
if settings.SAML2_ENABLED and settings.SAML2_GROUPS_ATTRIBUTE and settings.SAML2_GROUPS_FILTER:
return re.compile(settings.SAML2_GROUPS_FILTER)

Check failure on line 21 in dojo/backends.py

View workflow job for this annotation

GitHub Actions / ruff-linting

Ruff (RET503)

dojo/backends.py:18:5: RET503 Missing explicit `return` at the end of function able to return non-`None` value
return None

def _update_user(
self,
Expand Down

0 comments on commit c851936

Please sign in to comment.