Skip to content

Commit 7e68604

Browse files
Bump minimum supported python version (#25)
1 parent 967b378 commit 7e68604

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def freeze_locks(session: nox.Session) -> None:
2929
"-o",
3030
str(target),
3131
"--min-python-version",
32-
"3.8",
32+
"3.11",
3333
str(path),
3434
)
3535

runner.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def _poll(
2525
webhook_url: str,
2626
tracker_path: pathlib.Path,
2727
api_url: str,
28-
params: typing.Dict[str, str],
28+
params: dict[str, str],
2929
last_update: str,
3030
) -> str:
3131
params = {**params, "since": last_update}
@@ -121,13 +121,13 @@ def main(
121121
tracker_path: pathlib.Path,
122122
period: int,
123123
api_url: str,
124-
params: typing.Optional[pathlib.Path],
124+
params: pathlib.Path | None,
125125
):
126126
logging.basicConfig(level="INFO", format="%(asctime)23.23s %(levelname)1.1s %(message)s")
127127

128128
if params:
129129
with params.open("r") as file:
130-
params_dict: typing.Dict[str, str] = json.load(file)
130+
params_dict: dict[str, str] = json.load(file)
131131

132132
else:
133133
params_dict = {"sha": "main"}

0 commit comments

Comments
 (0)