-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #698 from openego/features/release-0.9.0
Features/release 0.9.0
- Loading branch information
Showing
53 changed files
with
17,895 additions
and
5,181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: "CI" | ||
|
||
on: {push: {branches: ['**']}, pull_request: {branches: [dev, master]}} | ||
|
||
jobs: | ||
build: | ||
name: ${{ matrix.os.name }} | ||
runs-on: ${{ matrix.os.image }} | ||
|
||
strategy: | ||
matrix: | ||
os: | ||
- {image: ubuntu-latest, name: Linux} | ||
- {image: windows-latest, name: Windows} | ||
- {image: macos-latest, name: macOS} | ||
max-parallel: 4 | ||
fail-fast: false | ||
|
||
steps: | ||
- uses: "actions/checkout@main" | ||
- uses: "actions/setup-python@main" | ||
with: | ||
python-version: | | ||
3 | ||
3.8 | ||
3.9 | ||
3.10 | ||
3.11 | ||
- name: "Install dependencies" | ||
run: | | ||
python -mpip install --progress-bar=off nox | ||
python --version | ||
pip --version | ||
nox --version | ||
- name: "Run custom checks" | ||
run: "python -m nox -s check" | ||
env: | ||
PLATFORM: ${{ matrix.os.image }} | ||
- name: "Check with `black`" | ||
run: "python -m nox -s black" | ||
env: | ||
PLATFORM: ${{ matrix.os.image }} | ||
- name: "Check with `flake8`" | ||
run: "python -m nox -s flake8" | ||
env: | ||
PLATFORM: ${{ matrix.os.image }} | ||
- name: "Check with `isort`" | ||
run: "python -m nox -s isort" | ||
env: | ||
PLATFORM: ${{ matrix.os.image }} | ||
- name: "Build and check for packaging errors" | ||
run: "python -m nox -s build" | ||
env: | ||
PLATFORM: ${{ matrix.os.image }} | ||
- name: "Install the package" | ||
run: "python -m nox -s install" | ||
env: | ||
PLATFORM: ${{ matrix.os.image }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
etrago/cluster/__pycache__/networkclustering.cpython-36.pyc | ||
-eTraGo.egg-info/* | ||
-src/* | ||
**/__pycache__/* | ||
build/* | ||
dist/* | ||
eTraGo.egg-info/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# .readthedocs.yaml | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required | ||
version: 2 | ||
|
||
# Set the version of Python and other tools you might need | ||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.8" | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: doc/conf.py | ||
|
||
# We recommend specifying your dependencies to enable reproducible builds: | ||
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html | ||
python: | ||
install: | ||
- requirements: requirements-doc.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
.. make doc-string generated documentation appear here | ||
API | ||
==== | ||
|
||
.. toctree:: | ||
:maxdepth: 7 | ||
:glob: | ||
:titlesonly: | ||
|
||
API <api/modules> | ||
api/etrago.cluster | ||
api/etrago.tools | ||
api/appl.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
etrago.appl module | ||
------------------- | ||
|
||
.. automodule:: etrago.appl | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,42 @@ | ||
etrago\.cluster package | ||
etrago.cluster package | ||
======================= | ||
|
||
Submodules | ||
---------- | ||
etrago.cluster.disaggregation module | ||
----------------------------------------- | ||
|
||
etrago\.cluster\.networkclustering module | ||
.. automodule:: etrago.cluster.disaggregation | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
etrago.cluster.electrical module | ||
----------------------------------------- | ||
|
||
.. automodule:: etrago.cluster.networkclustering | ||
.. automodule:: etrago.cluster.electrical | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
etrago\.cluster\.snapshot module | ||
etrago.cluster.gas module | ||
----------------------------------------- | ||
|
||
.. automodule:: etrago.cluster.gas | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
etrago.cluster.snapshot module | ||
-------------------------------- | ||
|
||
.. automodule:: etrago.cluster.snapshot | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Module contents | ||
--------------- | ||
etrago.cluster.spatial module | ||
-------------------------------- | ||
|
||
.. automodule:: etrago.cluster | ||
.. automodule:: etrago.cluster.spatial | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.