Skip to content
Merged
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 .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
# Run ruff to lint and format
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.8.6
rev: v0.9.1
hooks:
# Run the linter.
- id: ruff
Expand Down
2 changes: 1 addition & 1 deletion latex_tables/tables_in_latex.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
"biomass CHP",
"battery storage",
"home battery storage",
"central coal CHP" "hydrogen storage underground",
"central coal CHPhydrogen storage underground",
"hydrogen storage tank type 1",
"central water tank storage",
"decentral water tank storage",
Expand Down
2 changes: 1 addition & 1 deletion scripts/_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __setattr__(self, name, value):
Setattr is called when the syntax a.b = 2 is used to set a value.
"""
if hasattr(Dict, name):
raise AttributeError("'Dict' object attribute " f"'{name}' is read-only")
raise AttributeError(f"'Dict' object attribute '{name}' is read-only")
self[name] = value

def __getattr__(self, item):
Expand Down
Loading