Skip to content

Commit ed38a97

Browse files
chore: increase minimum Python to 3.9 (#19)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 96d0bd4 commit ed38a97

4 files changed

Lines changed: 119 additions & 137 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ repos:
4040
rev: v3.6.0
4141
hooks:
4242
- id: pyupgrade
43-
args: [--py37-plus]
43+
args: [--py39-plus]
4444
- repo: https://github.com/PyCQA/isort
4545
rev: 5.12.0
4646
hooks:

build_ext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import os
55
from distutils.command.build_ext import build_ext
66
from os.path import join
7-
from typing import Any, Dict
7+
from typing import Any
88

99
try:
1010
from setuptools import Extension
@@ -26,7 +26,7 @@ def build_extensions(self) -> None:
2626
super().build_extensions()
2727

2828

29-
def build(setup_kwargs: Dict[Any, Any]) -> None:
29+
def build(setup_kwargs: dict[Any, Any]) -> None:
3030
if os.environ.get("SKIP_CYTHON", False):
3131
return
3232
try:

0 commit comments

Comments
 (0)