Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 13, 2025
1 parent e873c9e commit 6a4d695
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 6a4d695

Please sign in to comment.