Skip to content

Commit f0e84dc

Browse files
authored
vulnerability fix. black fix for dev deps requires specific python v… (#121)
* vulnerability fix. black fix for dev deps requires specific python version >= 3.10, marker added to pyproject * ci/cd pipeline bumps python to 3.12 * poetry ci version ++ * black syntax fixes, current codebase has drifted from newer standards
1 parent 86c2d0b commit f0e84dc

File tree

5 files changed

+604
-457
lines changed

5 files changed

+604
-457
lines changed

.github/workflows/python-app.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
# reference the matrixe python version here.
2323
- uses: actions/setup-python@v5
2424
with:
25-
python-version: 3.9.18
25+
python-version: "3.12"
2626

2727
# Cache the installation of Poetry itself, e.g. the next step. This prevents the workflow
2828
# from installing Poetry every time, which can be slow. Note the use of the Poetry version
@@ -33,7 +33,7 @@ jobs:
3333
uses: actions/cache@v4
3434
with:
3535
path: ~/.local
36-
key: poetry-1.5.1-0
36+
key: poetry-1.8.5-0
3737

3838
# Install Poetry. You could do this manually, or there are several actions that do this.
3939
# `snok/install-poetry` seems to be minimal yet complete, and really just calls out to
@@ -46,7 +46,7 @@ jobs:
4646
# cache it.
4747
- uses: snok/install-poetry@v1
4848
with:
49-
version: 1.5.1
49+
version: 1.8.5
5050
virtualenvs-create: true
5151
virtualenvs-in-project: true
5252

nhlpy/api/query/filters/decision.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from nhlpy.api.query import InvalidQueryValueException
55
from nhlpy.api.query.filters import QueryBase
66

7-
87
logger = logging.getLogger(__name__)
98

109

nhlpy/api/teams.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from typing import List, Dict, Optional, Any
22
from nhlpy.http_client import Endpoint, HttpClient
33

4-
54
# @dataclass
65
# class TeamInfo:
76
# """Data class for team information."""

0 commit comments

Comments
 (0)