Skip to content

Commit 3f5a4b8

Browse files
Merge pull request #262 from ie3-institute/sp/#261-fix-dependabot-tag
Fixing dependabot tag, updating CI python version to 3.12
2 parents 24a2b94 + d1c1aed commit 3f5a4b8

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ updates:
88
open-pull-requests-limit: 10
99
target-branch: main
1010
labels:
11-
- "dependency"
11+
- "dependencies"

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-python@v4
1818
with:
19-
python-version: '3.11'
19+
python-version: '3.12'
2020
#----------------------------------------------
2121
# load pip cache if cache exists
2222
#----------------------------------------------
@@ -40,7 +40,7 @@ jobs:
4040
fail-fast: true
4141
matrix:
4242
os: [ "ubuntu-latest", "windows-latest" ]
43-
python-version: [ "3.11"]
43+
python-version: [ "3.12"]
4444
runs-on: ${{ matrix.os }}
4545
defaults:
4646
run:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Allow execution with python 3.12 [#229](https://github.com/ie3-institute/pypsdm/
2121
### Fixed
2222
- Fixed node identifier for plot of voltage over a branch [#240](https://github.com/ie3-institute/pypsdm/issue/240)
2323
- Fixed slack node identification if slack is not directly connected to a transformer [#238](https://github.com/ie3-institute/pypsdm/issue/238)
24+
- Fixed dependabot tag [#261](https://github.com/ie3-institute/pypsdm/issues/261)
2425

2526
## [0.0.3]
2627

pypsdm/models/ts/base.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,6 @@ def __getitem__(self, key: Any) -> V:
242242
return res
243243
raise e
244244

245-
def __contains__(self, key: object) -> bool:
246-
return self.get(key) is not None # type: ignore
247-
248245
def get_with_key(self, key: K | str) -> tuple[K, V]:
249246
for k, v in self.items():
250247
if k == key:

0 commit comments

Comments
 (0)