Skip to content

Commit

Permalink
Merge pull request #650 from PyPSA/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
fneum authored Apr 25, 2023
2 parents 4fb9544 + 3625d40 commit c133fe8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ repos:

# Make docstrings PEP 257 compliant
- repo: https://github.com/PyCQA/docformatter
rev: v1.6.1-rc1
rev: v1.6.3
hooks:
- id: docformatter
args: ["--in-place", "--make-summary-multi-line", "--pre-summary-newline"]
Expand Down
7 changes: 4 additions & 3 deletions scripts/build_bus_regions.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@

def voronoi_partition_pts(points, outline):
"""
Compute the polygons of a voronoi partition of `points` within the
polygon `outline`. Taken from
https://github.com/FRESNA/vresutils/blob/master/vresutils/graph.py
Compute the polygons of a voronoi partition of `points` within the polygon
`outline`. Taken from
https://github.com/FRESNA/vresutils/blob/master/vresutils/graph.py.
Attributes
----------
points : Nx2 - ndarray[dtype=float]
Expand Down
2 changes: 0 additions & 2 deletions scripts/build_cop_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
sink.
The quadratic regression used is based on Staffell et al. (2012)
https://doi.org/10.1039/C2EE22653G.
"""

Expand Down
2 changes: 0 additions & 2 deletions scripts/build_gas_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ def diameter_to_capacity(pipe_diameter_mm):
bar -> 21.7 GW CH4 pipe capacity (LHV)
Based on p.15 of
https://gasforclimate2050.eu/wp-content/uploads/2020/07/2020_European-Hydrogen-Backbone_Report.pdf
"""
# slopes definitions
Expand Down

0 comments on commit c133fe8

Please sign in to comment.