diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5b931f519..5f170d2a2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ repos: - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.11.19 + rev: 0.11.23 hooks: # Dependency management - id: uv-lock @@ -47,7 +47,7 @@ repos: # Python Linting & Formatting with Ruff - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: "v0.15.16" + rev: "v0.15.18" hooks: - id: ruff name: ruff (linter) diff --git a/temoa/components/limits.py b/temoa/components/limits.py index f7f5d5d9c..7fa6bf02c 100644 --- a/temoa/components/limits.py +++ b/temoa/components/limits.py @@ -941,7 +941,7 @@ def limit_emission_constraint( # in the case that there is nothing to sum, skip if isinstance(expr, bool): # an empty list was generated msg = "Warning: No technology produces emission '%s', though limit was specified as %s.\n" - logger.warning(msg, (e, emission_limit)) + logger.warning(msg, e, emission_limit) sys.stderr.write(msg % (e, emission_limit)) return Constraint.Skip