Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #650

Merged
merged 2 commits into from
Apr 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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