mirror of
https://github.com/cyclotruc/gitingest.git
synced 2026-04-28 12:39:58 +00:00
feat: Add Python 3.7 Support and Restore Compatibility with Older Syntax (#181)
* Add Python 3.9 support by using ParamSpec from typing_extensions and removing match statements * Add Python 3.7 support by reverting inline generics and removing walrus usage * Update pyproject.toml
This commit is contained in:
parent
9be28a4eef
commit
4397a45281
20 changed files with 210 additions and 196 deletions
|
|
@ -48,7 +48,7 @@ repos:
|
|||
hooks:
|
||||
- id: pyupgrade
|
||||
description: "Automatically upgrade syntax for newer versions."
|
||||
args: [--py3-plus, --py36-plus, --py38-plus, --py39-plus, --py310-plus]
|
||||
args: [--py3-plus, --py36-plus]
|
||||
|
||||
- repo: https://github.com/pre-commit/pygrep-hooks
|
||||
rev: v1.10.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue