Skip to content

Commit

Permalink
style: format code with Autopep8, Black, isort and Yapf
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in 12b16c7 according to the output
from Autopep8, Black, isort and Yapf.

Details: #59
  • Loading branch information
deepsource-autofix[bot] authored May 3, 2024
1 parent 12b16c7 commit 19099c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trustauthx/authlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ def remove_role(
rols = []
if isinstance(rol_ids, str):
rols.append(rol_ids)
elif isinstance(rol_ids,list):
elif isinstance(rol_ids, list):
rols = [i for i in rol_ids]
else:
raise TypeError()
Expand Down Expand Up @@ -1109,7 +1109,7 @@ def update_role(
else:
raise TypeError()
rols_rem = []
if isinstance(rol_ids_to_remove,str):
if isinstance(rol_ids_to_remove, str):
rols_rem.append(rol_ids_to_remove)
elif isinstance(rol_ids_to_remove, list):
rols_rem = [i for i in rol_ids_to_remove]
Expand Down

0 comments on commit 19099c8

Please sign in to comment.