Skip to content

Commit ecd55b9

Browse files
authored
Merge pull request #112 from OpenEnergyPlatform/release-v1.0.0
Release v1.0.0
2 parents 8b3aa4c + 719508f commit ecd55b9

132 files changed

Lines changed: 12721 additions & 8539 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.bumpversion.cfg

Lines changed: 0 additions & 20 deletions
This file was deleted.

.bumpversion.toml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
[tool.bumpversion]
2+
current_version = "1.0.0"
3+
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
4+
serialize = ["{major}.{minor}.{patch}"]
5+
search = "{current_version}"
6+
replace = "{new_version}"
7+
regex = false
8+
ignore_missing_version = false
9+
ignore_missing_files = false
10+
tag = true
11+
sign_tags = false
12+
tag_name = "v{new_version}"
13+
tag_message = "v{new_version}"
14+
allow_dirty = false
15+
commit = true
16+
message = "Bump version: {current_version} → {new_version}"
17+
commit_args = ""
18+
19+
[[tool.bumpversion.files]]
20+
filename = "pyproject.toml"
21+
22+
[[tool.bumpversion.files]]
23+
filename = "CHANGELOG.md"
24+
search = "[Unreleased]"
25+
replace = "[Unreleased] - {now:%Y-%m-%d}"
26+
27+
[[tool.bumpversion.files]]
28+
filename = "CHANGELOG.md"
29+
search = "Unreleased"
30+
31+
[[tool.bumpversion.files]]
32+
filename = "README.rst"
33+
34+
[[tool.bumpversion.files]]
35+
filename = "docs/conf.py"
36+
37+
[[tool.bumpversion.files]]
38+
filename = "omi/__init__.py"

.cookiecutterrc

Lines changed: 0 additions & 56 deletions
This file was deleted.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: Bug Issue
3+
about: For bugs and errors
4+
title: Your title should make sense if said after "The issue is <your issue title>"
5+
labels: "bug"
6+
assignees: ''
7+
8+
---
9+
10+
## Description of the issue
11+
12+
Describe the problem in as much detail as possible.
13+
Focus on the expected and current behavior.
14+
If necessary, create a screenshot and insert below.
15+
16+
## Steps to Reproduce
17+
1.
18+
2.
19+
3.
20+
21+
## Ideas of solution
22+
23+
Describe possible ideas for solution and evaluate advantages and disadvantages.
24+
25+
## Context and Environment
26+
* Version used:
27+
* Operating system:
28+
* Environment setup and (python) version:
29+
30+
## Workflow checklist
31+
- [ ] I am aware of the workflow in [CONTRIBUTING.md](https://github.com/rl-institut/super-repo/blob/develop/CONTRIBUTING.md)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Feature Issue
3+
about: For new ideas, developments and features
4+
title: Your title should make sense if said after "The issue is <your issue title>"
5+
labels: "enhancement"
6+
assignees: ''
7+
8+
---
9+
10+
## Description of the issue
11+
12+
Describe the problem in as much detail as possible.
13+
14+
## Ideas of solution
15+
16+
Describe possible ideas for solution and evaluate advantages and disadvantages.
17+
18+
## Workflow checklist
19+
- [ ] I am aware of the workflow in [CONTRIBUTING.md](https://github.com/rl-institut/super-repo/blob/develop/CONTRIBUTING.md)

.github/pull_request_template.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
## Summary of the discussion
2+
3+
Describe the findings of the discussion in the issue or meeting.
4+
5+
## Type of change (CHANGELOG.md)
6+
7+
### Added
8+
- Add a new class [(#)](https://github.com/rl-institut/super-repo/pull/)
9+
10+
### Updated
11+
- Update a definition [(#)](https://github.com/rl-institut/super-repo/pull/)
12+
13+
### Removed
14+
- Remove a broken link [(#)](https://github.com/rl-institut/super-repo/pull/)
15+
16+
17+
## Workflow checklist
18+
19+
### Automation
20+
Closes #
21+
22+
### PR-Assignee
23+
- [ ] 🐙 Follow the workflow in [CONTRIBUTING.md](https://github.com/rl-institut/super-repo/blob/develop/CONTRIBUTING.md)
24+
- [ ] 📝 Update the [CHANGELOG.md](https://github.com/rl-institut/super-repo/blob/develop/CHANGELOG.md)
25+
- [ ] 📙 Update the documentation
26+
27+
### Reviewer
28+
- [ ] 🐙 Follow the [Reviewer Guidelines](https://github.com/rl-institut/super-repo/blob/develop/CONTRIBUTING.md#40-let-someone-else-review-your-pr)
29+
- [ ] 🐙 Provided feedback and show sufficient appreciation for the work done

.github/workflows/automated-testing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
push:
66
branches:
77
- master
8-
- develop
8+
- dev
99
pull_request:
1010

1111
jobs:
@@ -26,4 +26,4 @@ jobs:
2626
run: pip install tox
2727
- name: Run tox
2828
# Run tox using the version of Python in `PATH`
29-
run: tox -v
29+
run: tox -v

.github/workflows/linter.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
3+
# Enable Buildkit and let compose use it to speed up image building
4+
env:
5+
DOCKER_BUILDKIT: 1
6+
COMPOSE_DOCKER_CLI_BUILD: 1
7+
8+
on:
9+
pull_request:
10+
branches: [ "master", "dev" ]
11+
paths-ignore: [ "docs/**" ]
12+
13+
push:
14+
branches: [ "master", "dev" ]
15+
paths-ignore: [ "docs/**" ]
16+
17+
concurrency:
18+
group: ${{ github.head_ref || github.run_id }}
19+
cancel-in-progress: true
20+
21+
jobs:
22+
linter:
23+
runs-on: ubuntu-latest
24+
steps:
25+
26+
- name: Checkout Code Repository
27+
uses: actions/checkout@v4
28+
29+
- name: Set up Python
30+
uses: actions/setup-python@v5
31+
with:
32+
python-version: "3.9"
33+
34+
- name: Run pre-commit
35+
uses: pre-commit/action@v3.0.1

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,6 @@ docs/_build
8080

8181

8282
# manual testing scripts
83-
/local_test
83+
/local_test
84+
/script
85+
/.venv/

.pre-commit-config.yaml

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,36 @@
1+
exclude: 'docs|node_modules|vendors|migrations|.git|.tox'
2+
default_stages: [commit]
3+
fail_fast: true
4+
15
repos:
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: v4.4.0
8+
hooks:
9+
- id: check-json
10+
exclude: tests/test_data/validation/invalid_metadata/*
11+
- id: end-of-file-fixer
12+
- id: trailing-whitespace
13+
- id: check-added-large-files
14+
15+
- repo: https://github.com/pre-commit/mirrors-jshint
16+
rev: v2.13.6
17+
hooks:
18+
- id: jshint
19+
220
- repo: https://github.com/psf/black
3-
rev: stable
21+
rev: 23.3.0
422
hooks:
523
- id: black
6-
language_version: python3
724

8-
- repo: https://github.com/pre-commit/mirrors-isort
9-
rev: master
25+
- repo: https://github.com/charliermarsh/ruff-pre-commit
26+
# Ruff version.
27+
rev: 'v0.0.277'
28+
hooks:
29+
- id: ruff
30+
31+
- repo: https://github.com/PyCQA/flake8
32+
rev: 6.0.0
1033
hooks:
11-
- id: isort
12-
language_version: python3
34+
- id: flake8
35+
args: [ "--config=setup.cfg" ]
36+
additional_dependencies: [ flake8-isort ]

0 commit comments

Comments
 (0)