Skip to content

Commit

Permalink
chore: increase minimum Python to 3.9 (#19)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
bdraco and pre-commit-ci[bot] authored Jan 17, 2025
1 parent 96d0bd4 commit ed38a97
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 137 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ repos:
rev: v3.6.0
hooks:
- id: pyupgrade
args: [--py37-plus]
args: [--py39-plus]
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
Expand Down
4 changes: 2 additions & 2 deletions build_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import os
from distutils.command.build_ext import build_ext
from os.path import join
from typing import Any, Dict
from typing import Any

try:
from setuptools import Extension
Expand All @@ -26,7 +26,7 @@ def build_extensions(self) -> None:
super().build_extensions()


def build(setup_kwargs: Dict[Any, Any]) -> None:
def build(setup_kwargs: dict[Any, Any]) -> None:
if os.environ.get("SKIP_CYTHON", False):
return
try:
Expand Down
Loading

0 comments on commit ed38a97

Please sign in to comment.