Skip to content

Commit

Permalink
resolve conflicts and update branch
Browse files Browse the repository at this point in the history
  • Loading branch information
yerbol-akhmetov committed Oct 29, 2024
2 parents baccb03 + f1b5c96 commit 147c03f
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 52 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- cron: "0 5 * * TUE"

env:
CACHE_NUMBER: 2 # Change this value to manually reset the environment cache
CACHE_NUMBER: 1 # Change this value to manually reset the environment cache

jobs:
build:
Expand Down
15 changes: 9 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,15 @@ repos:
types_or: [python, rst, markdown]
files: ^(scripts|doc)/

# Make docstrings PEP 257 compliant
- repo: https://github.com/PyCQA/docformatter
rev: v1.7.5
hooks:
- id: docformatter
args: ["--in-place", "--make-summary-multi-line", "--pre-summary-newline"]
# # Make docstrings PEP 257 compliant
# - repo: https://github.com/PyCQA/docformatter
# rev: v1.7.5
# hooks:
# - id: docformatter
# args: ["--in-place", "--make-summary-multi-line", "--pre-summary-newline"]
# entry: docformatter
# language: python
# types: [python]

- repo: https://github.com/keewis/blackdoc
rev: v0.3.9
Expand Down
85 changes: 52 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ by

## Development Status: **Stable and Active**

[![Status Linux](https://github.com/pypsa-meets-earth/pypsa-earth/actions/workflows/ci-linux.yaml/badge.svg?branch=main&event=push)](https://github.com/pypsa-meets-earth/pypsa-earth/actions/workflows/ci-linux.yaml)
[![Status Mac](https://github.com/pypsa-meets-earth/pypsa-earth/actions/workflows/ci-mac.yaml/badge.svg?branch=main&event=push)](https://github.com/pypsa-meets-earth/pypsa-earth/actions/workflows/ci-mac.yaml)
[![Status Windows](https://github.com/pypsa-meets-earth/pypsa-earth/actions/workflows/ci-windows.yaml/badge.svg?branch=main&event=push)](https://github.com/pypsa-meets-earth/pypsa-earth/actions/workflows/ci-windows.yaml)
[![Test workflows](https://github.com/pypsa-meets-earth/pypsa-earth/actions/workflows/ci.yml/badge.svg)](https://github.com/pypsa-meets-earth/pypsa-earth/actions/workflows/ci.yml)
[![Documentation Status](https://readthedocs.org/projects/pypsa-earth/badge/?version=latest)](https://pypsa-earth.readthedocs.io/en/latest/?badge=latest)
![Size](https://img.shields.io/github/repo-size/pypsa-meets-earth/pypsa-earth)
[![License: AGPL v3](https://img.shields.io/badge/License-AGPLv3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
Expand Down Expand Up @@ -311,14 +309,35 @@ The documentation is available here: [documentation](https://pypsa-earth.readthe
<sub><b>Emmanuel Bolarinwa</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/Eddy-JV">
<img src="https://avatars.githubusercontent.com/u/75539255?v=4" width="100;" alt="Eddy-JV"/>
<br />
<sub><b>Eddy Jalbout</b></sub>
</a>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/doneachh">
<img src="https://avatars.githubusercontent.com/u/132910766?v=4" width="100;" alt="doneachh"/>
<br />
<sub><b>Anton Achhammer</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/Tomkourou">
<img src="https://avatars.githubusercontent.com/u/5240283?v=4" width="100;" alt="Tomkourou"/>
<br />
<sub><b>Thomas Kouroughli</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/finozzifa">
<img src="https://avatars.githubusercontent.com/u/167071962?v=4" width="100;" alt="finozzifa"/>
<br />
<sub><b>Finozzifa</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/GridGrapher">
<img src="https://avatars.githubusercontent.com/u/127969728?v=4" width="100;" alt="GridGrapher"/>
Expand All @@ -327,12 +346,20 @@ The documentation is available here: [documentation](https://pypsa-earth.readthe
</a>
</td>
<td align="center">
<a href="https://github.com/finozzifa">
<img src="https://avatars.githubusercontent.com/u/167071962?v=4" width="100;" alt="finozzifa"/>
<a href="https://github.com/glenkiely-ieg">
<img src="https://avatars.githubusercontent.com/u/99269783?v=4" width="100;" alt="glenkiely-ieg"/>
<br />
<sub><b>Finozzifa</b></sub>
<sub><b>Null</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/cpschau">
<img src="https://avatars.githubusercontent.com/u/124347782?v=4" width="100;" alt="cpschau"/>
<br />
<sub><b>Cschau</b></sub>
</a>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/Emre-Yorat89">
<img src="https://avatars.githubusercontent.com/u/62134151?v=4" width="100;" alt="Emre-Yorat89"/>
Expand Down Expand Up @@ -360,14 +387,6 @@ The documentation is available here: [documentation](https://pypsa-earth.readthe
<br />
<sub><b>Ekaterina-Vo</b></sub>
</a>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/cpschau">
<img src="https://avatars.githubusercontent.com/u/124347782?v=4" width="100;" alt="cpschau"/>
<br />
<sub><b>Cschau</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/Tooblippe">
Expand All @@ -377,24 +396,25 @@ The documentation is available here: [documentation](https://pypsa-earth.readthe
</a>
</td>
<td align="center">
<a href="https://github.com/doneachh">
<img src="https://avatars.githubusercontent.com/u/132910766?v=4" width="100;" alt="doneachh"/>
<a href="https://github.com/carlosfv92">
<img src="https://avatars.githubusercontent.com/u/103258059?v=4" width="100;" alt="carlosfv92"/>
<br />
<sub><b>Anton Achhammer</b></sub>
<sub><b>Carlos Fernandez</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/asolavi">
<img src="https://avatars.githubusercontent.com/u/131155817?v=4" width="100;" alt="asolavi"/>
<a href="https://github.com/rajesh-ieg">
<img src="https://avatars.githubusercontent.com/u/120284682?v=4" width="100;" alt="rajesh-ieg"/>
<br />
<sub><b>Null</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/carlosfv92">
<img src="https://avatars.githubusercontent.com/u/103258059?v=4" width="100;" alt="carlosfv92"/>
<a href="https://github.com/asolavi">
<img src="https://avatars.githubusercontent.com/u/131155817?v=4" width="100;" alt="asolavi"/>
<br />
<sub><b>Carlos Fernandez</b></sub>
<sub><b>Null</b></sub>
</a>
</td>
<td align="center">
Expand All @@ -403,8 +423,7 @@ The documentation is available here: [documentation](https://pypsa-earth.readthe
<br />
<sub><b>Stephen J Lee</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/rsparks3">
<img src="https://avatars.githubusercontent.com/u/30065966?v=4" width="100;" alt="rsparks3"/>
Expand All @@ -425,7 +444,8 @@ The documentation is available here: [documentation](https://pypsa-earth.readthe
<br />
<sub><b>Juli-a-ko</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/squoilin">
<img src="https://avatars.githubusercontent.com/u/4547840?v=4" width="100;" alt="squoilin"/>
Expand All @@ -446,8 +466,7 @@ The documentation is available here: [documentation](https://pypsa-earth.readthe
<br />
<sub><b>Pietro Monticone</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/Netotse">
<img src="https://avatars.githubusercontent.com/u/89367243?v=4" width="100;" alt="Netotse"/>
Expand All @@ -468,7 +487,8 @@ The documentation is available here: [documentation](https://pypsa-earth.readthe
<br />
<sub><b>Jess</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/jarry7">
<img src="https://avatars.githubusercontent.com/u/27745389?v=4" width="100;" alt="jarry7"/>
Expand All @@ -489,8 +509,7 @@ The documentation is available here: [documentation](https://pypsa-earth.readthe
<br />
<sub><b>EmreYorat</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/AndreCNF">
<img src="https://avatars.githubusercontent.com/u/19359510?v=4" width="100;" alt="AndreCNF"/>
Expand Down
14 changes: 3 additions & 11 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,9 @@ Welcome to the PyPSA-Earth documentation!
.. image:: https://img.shields.io/github/v/release/pypsa-meets-earth/pypsa-earth?include_prereleases
:alt: GitHub release (latest by date including pre-releases)

.. image:: https://github.com/pypsa-meets-earth/pypsa-earth/actions/workflows/ci-linux.yaml/badge.svg
:target: https://github.com/pypsa-meets-earth/pypsa-earth/actions
:alt: CI Linux

.. image:: https://github.com/pypsa-meets-earth/pypsa-earth/actions/workflows/ci-mac.yaml/badge.svg
:target: https://github.com/pypsa-meets-earth/pypsa-earth/actions
:alt: CI Mac

.. image:: https://github.com/pypsa-meets-earth/pypsa-earth/actions/workflows/ci-windows.yaml/badge.svg
:target: https://github.com/pypsa-meets-earth/pypsa-earth/actions
:alt: CI Windows
.. image:: https://github.com/pypsa-meets-earth/pypsa-earth/actions/workflows/ci.yml/badge.svg
:target: https://github.com/pypsa-meets-earth/pypsa-earth/actions/workflows/ci.yml
:alt: CI

.. image:: https://readthedocs.org/projects/pypsa-earth/badge/?version=latest
:target: https://pypsa-earth.readthedocs.io/en/latest/?badge=latest
Expand Down
4 changes: 3 additions & 1 deletion doc/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ E.g. if a new rule becomes available describe how to use it `make test` and in o

* Enable configfile specification for mock_snakemake `PR #1135 <https://github.com/pypsa-meets-earth/pypsa-earth/pull/1135>`_

* Use sumodule prefix in rules and `_helpers.py` script for facilitate smooth module import `PR #1137 <https://github.com/pypsa-meets-earth/pypsa-earth/pull/1137>`_
* Fix pre-commit docformatter python issue. `PR #1153 <https://github.com/pypsa-meets-earth/pypsa-earth/pull/1153>`__

* Use BASE_DIR in rules and `_helpers.py` script for facilitate module import in subworkflow `PR #1137 <https://github.com/pypsa-meets-earth/pypsa-earth/pull/1137>`_

PyPSA-Earth 0.4.1
=================
Expand Down

0 comments on commit 147c03f

Please sign in to comment.