Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#164)
Browse files Browse the repository at this point in the history
* [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>
  • Loading branch information
pre-commit-ci[bot] authored Jan 14, 2025
1 parent 2a69b2e commit a30e55a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit a30e55a

Please sign in to comment.