Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion coldfront/core/utils/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ def su_login_callback(user):
if user.is_active and user.is_superuser:
return True

logger.warning("User {} requested to login as another user but does not have permissions", user)
logger.warning("User %s requested to login as another user but does not have permissions", user)
return False
2 changes: 1 addition & 1 deletion coldfront/plugins/auto_compute_allocation/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def allocation_auto_compute_fairshare_institute(project_obj, allocation_obj):
{project_obj.institution},
)
logger.info(
"Additional message - this issue was encountered with project pk",
"Additional message - this issue was encountered with project pk: %s",
{project_obj.pk},
)
return None
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ indent-width = 4
target-version = "py312"

[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I"]
select = ["E4", "E7", "E9", "F", "I", "PLE"]

[tool.ruff.format]
indent-style = "space"
Expand Down