Skip to content

Commit 4ad13f0

Browse files
authored
Merge pull request #2180 from OpenEnergyPlatform/release-v1.6.0
Release v1.6.0
2 parents 3d9e7bb + 4738ac0 commit 4ad13f0

File tree

293 files changed

+8710
-11722
lines changed

Some content is hidden

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

293 files changed

+8710
-11722
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.5.2
2+
current_version = 1.6.0
33

44
[bumpversion:file:VERSION]
55

.djlintrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"indent": 2,
3+
"format_css": false,
4+
"format_js": false,
5+
"max_line_length": 80
6+
}

.eslintrc.json

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

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,5 @@ site/
120120

121121
# NPM & VITE
122122
patches/
123+
oedialect/
124+
oep-client/

.pre-commit-config.yaml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
exclude: ^.*(.min.js|.min.css|.js.map|js|jsx|tsx|jsonc|scss|mkdocs.yml|/dist/.*)$
1+
exclude: ^.*(.min.js|.min.css|.js.map|js|mkdocs.yml|/dist/.*)$
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
44
rev: v6.0.0
55
hooks:
66
- id: check-yaml
77
- id: end-of-file-fixer
88
- id: trailing-whitespace
9-
- repo: https://github.com/psf/black
10-
rev: 25.9.0
9+
- repo: https://github.com/psf/black-pre-commit-mirror
10+
rev: 25.11.0
1111
hooks:
1212
- id: black
1313
- repo: https://github.com/pycqa/isort
@@ -21,18 +21,26 @@ repos:
2121
- id: flake8
2222
args: ["--max-line-length=88", "--ignore=E20,W503"] # black compatible
2323
- repo: https://github.com/pre-commit/mirrors-eslint
24-
rev: v9.37.0
24+
rev: v10.0.0-alpha.0
2525
hooks:
2626
- id: eslint
2727
additional_dependencies:
28-
- eslint@8.14.0
28+
- eslint@9.25
2929
3030
31+
32+
33+
3134
args: ["--fix"]
35+
3236
- repo: https://github.com/pre-commit/mirrors-prettier
3337
rev: v4.0.0-alpha.8
3438
hooks:
3539
- id: prettier
36-
additional_dependencies:
37-
- prettier-plugin-jinja-template
38-
- prettier-plugin-sql
40+
files: .*\.(json|md|yaml|yml)$
41+
- repo: https://github.com/djlint/djLint
42+
# see https://djlint.com/docs/integrations/
43+
rev: v1.36.4
44+
hooks:
45+
- id: djlint-reformat-django
46+
files: .*templates/.*\.html$

.prettierignore

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
11
# prettier: could not determine a constructor for the tag 'tag:yaml.org,2002:python/name:material.extensions.emoji.twemoji' in "mkdocs.yml"
2-
32
mkdocs.yml
3+
4+
**/*.min.js
5+
**/*.min.css
6+
7+
# django templates will be handled by djlint
8+
*/templates/**/*.html
9+
10+
# ignore these for now
11+
**/*.js
12+
**/*.tsx
13+
**/*.jsx
14+
**/*.css
15+
**/*.scss
16+
**/*.jsonc

.prettierrc

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
{
22
"proseWrap": "always",
33
"printWidth": 80,
4-
"trailingComma": "es5",
5-
"plugins": ["prettier-plugin-jinja-template"],
6-
"overrides": [
7-
{
8-
"files": ["**/templates/**/*.html"],
9-
"options": {
10-
"parser": "jinja-template"
11-
}
12-
}
13-
]
4+
"trailingComma": "es5"
145
}

CITATION.cff

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cff-version: 1.5.2
1+
cff-version: 1.6.0
22
message: "If you use this software, please cite it using these metadata."
33
authors:
44
- family-names: "Hülk"
@@ -28,7 +28,7 @@ authors:
2828
title: "Open Energy Family - Open Energy Platform (OEP)"
2929
type: software
3030
license: AGPL-3.0-or-later
31-
version: 1.5.2
31+
version: 1.6.0
3232
doi:
33-
date-released: 2025-10-30
33+
date-released: 2025-11-27
3434
url: "https://github.com/OpenEnergyPlatform/oeplatform/"

README.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Open Energy Platform (OEP)
2121
* - Documentation
2222
- |badge_documentation| |badge_mkdocs|
2323
* - Tests
24-
- |badge_tox|
24+
- |badge_tox| |badge_precommit|
2525
* - Publication
2626
-
2727
* - Development
@@ -88,6 +88,10 @@ License and Citation
8888
:target: https://github.com/OpenEnergyPlatform/oeplatform/actions/workflows/automated-testing.yaml
8989
:alt: Tox Tests
9090

91+
.. |badge_precommit| image:: https://results.pre-commit.ci/badge/github/OpenEnergyPlatform/oeplatform/develop.svg
92+
:target: https://results.pre-commit.ci/latest/github/OpenEnergyPlatform/oeplatform/develop
93+
:alt: pre-commit.ci status
94+
9195
.. |badge_issue_open| image:: https://img.shields.io/github/issues-raw/OpenEnergyPlatform/oeplatform
9296
:target: https://github.com/OpenEnergyPlatform/oeplatform/issues
9397
:alt: Open Issues

REUSE.toml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2432,7 +2432,7 @@ SPDX-FileCopyrightText = [
24322432
]
24332433

24342434
[[annotations]]
2435-
path = "dataedit/templates/dataedit/dataedit_schemalist.html"
2435+
path = "dataedit/templates/dataedit/dataedit_topiclist.html"
24362436
precedence = "override"
24372437
SPDX-License-Identifier = "AGPL-3.0-or-later"
24382438
SPDX-FileCopyrightText = [
@@ -2675,15 +2675,15 @@ SPDX-FileCopyrightText = [
26752675
]
26762676

26772677
[[annotations]]
2678-
path = "oedb_datamodels/script.py.mako"
2678+
path = "oedb/script.py.mako"
26792679
precedence = "override"
26802680
SPDX-License-Identifier = "AGPL-3.0-or-later"
26812681
SPDX-FileCopyrightText = [
26822682
"2017 Martin Glauer <https://github.com/MGlauer> © Otto-von-Guericke-Universität Magdeburg",
26832683
]
26842684

26852685
[[annotations]]
2686-
path = "oedb_datamodels/README"
2686+
path = "oedb/README"
26872687
precedence = "override"
26882688
SPDX-License-Identifier = "AGPL-3.0-or-later"
26892689
SPDX-FileCopyrightText = [
@@ -3457,3 +3457,11 @@ SPDX-License-Identifier = "AGPL-3.0-or-later"
34573457
SPDX-FileCopyrightText = [
34583458
"2020 Christian Winger <https://github.com/wingechr> © Öko-Institut e.V.",
34593459
]
3460+
3461+
[[annotations]]
3462+
path = ".djlintrc"
3463+
precedence = "override"
3464+
SPDX-License-Identifier = "AGPL-3.0-or-later"
3465+
SPDX-FileCopyrightText = [
3466+
"2020 Christian Winger <https://github.com/wingechr> © Öko-Institut e.V.",
3467+
]

0 commit comments

Comments
 (0)