Skip to content

Commit

Permalink
ci: fix codespell checking urls
Browse files Browse the repository at this point in the history
  • Loading branch information
lkstrp committed Jun 11, 2024
1 parent 2b16c45 commit 5b79144
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
File renamed without changes.
6 changes: 4 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ repos:
rev: v2.3.0
hooks:
- id: codespell
args: [
--ignore-regex, "(`<.+>`_)", # Ignore urls in rst
--ignore-words, .codespell.ignore
]
types_or: [python, rst, markdown]
# files: ^(powerplantmatching|doc|test)/
entry: codespell --ignore-words ignore-spelling-words.txt
3 changes: 1 addition & 2 deletions powerplantmatching/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1128,8 +1128,7 @@ def UBA(
):
"""
Importer for the UBA Database. Please download the data from
`<https://www.umweltbundesamt.de/dokument/datenbank-kraftwerke-in
-deutschland>`_.
`<https://www.umweltbundesamt.de/dokument/datenbank-kraftwerke-in-deutschland>`_.
Parameters
----------
Expand Down

0 comments on commit 5b79144

Please sign in to comment.