Skip to content

Commit e047c5e

Browse files
[pre-commit.ci] pre-commit autoupdate (#1517)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.9.2 → v0.9.3](astral-sh/ruff-pre-commit@v0.9.2...v0.9.3) - [github.com/codespell-project/codespell: v2.3.0 → v2.4.0](codespell-project/codespell@v2.3.0...v2.4.0) * fix pre-commit --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: lkstrp <lkstrp@pm.me>
1 parent 0e6a8f8 commit e047c5e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
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.9.2
17+
rev: v0.9.3
1818
hooks:
1919
# Run the linter.
2020
- id: ruff
@@ -24,7 +24,7 @@ repos:
2424

2525
# Find common spelling mistakes in comments and docstrings
2626
- repo: https://github.com/codespell-project/codespell
27-
rev: v2.3.0
27+
rev: v2.4.0
2828
hooks:
2929
- id: codespell
3030
args: ['--ignore-regex="(\b[A-Z]+\b)"', '--ignore-words-list=fom,appartment,bage,ore,setis,tabacco,berfore,vor,pris'] # Ignore capital case words, e.g. country codes

doc/release_notes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ PyPSA-Eur v2025.01.0 (24th January 2025)
199199
* Ensure all links with capital costs have a lifetime. This is important for
200200
pathway planning. (https://github.com/PyPSA/pypsa-eur/pull/1319)
201201

202-
* Resolved a bug which occured when multiple DC links are connected to the same
202+
* Resolved a bug which occurred when multiple DC links are connected to the same
203203
DC bus and the DC bus is connected to an AC bus via a converter. In this case,
204204
the DC links were wrongly simplified, completely dropping the shared DC bus.
205205
(https://github.com/PyPSA/pypsa-eur/pull/1381,

scripts/build_powerplants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
Description
2525
-----------
2626
27-
The configuration options ``electricity: powerplants_filter`` and ``electricity: custom_powerplants`` can be used to control whether data should be retrieved from the original powerplants database or from custom amendmends. These specify `pandas.query <https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.query.html>`_ commands.
27+
The configuration options ``electricity: powerplants_filter`` and ``electricity: custom_powerplants`` can be used to control whether data should be retrieved from the original powerplants database or from custom amendments. These specify `pandas.query <https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.query.html>`_ commands.
2828
In addition the configuration option ``electricity: everywhere_powerplants`` can be used to place powerplants with zero-initial capacity of certain fuel types at all substations.
2929
3030
1. Adding all powerplants from custom:

0 commit comments

Comments
 (0)