Skip to content

Commit a30e55a

Browse files
[pre-commit.ci] pre-commit autoupdate (#164)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.6 → v0.9.1](astral-sh/ruff-pre-commit@v0.8.6...v0.9.1) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 2a69b2e commit a30e55a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
# Run ruff to lint and format
1515
- repo: https://github.com/astral-sh/ruff-pre-commit
1616
# Ruff version.
17-
rev: v0.8.6
17+
rev: v0.9.1
1818
hooks:
1919
# Run the linter.
2020
- id: ruff

latex_tables/tables_in_latex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
"biomass CHP",
299299
"battery storage",
300300
"home battery storage",
301-
"central coal CHP" "hydrogen storage underground",
301+
"central coal CHPhydrogen storage underground",
302302
"hydrogen storage tank type 1",
303303
"central water tank storage",
304304
"decentral water tank storage",

scripts/_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def __setattr__(self, name, value):
1919
Setattr is called when the syntax a.b = 2 is used to set a value.
2020
"""
2121
if hasattr(Dict, name):
22-
raise AttributeError("'Dict' object attribute " f"'{name}' is read-only")
22+
raise AttributeError(f"'Dict' object attribute '{name}' is read-only")
2323
self[name] = value
2424

2525
def __getattr__(self, item):

0 commit comments

Comments
 (0)