Skip to content

Commit

Permalink
Korrekturen
Browse files Browse the repository at this point in the history
a) skeleton w/verisonabhängigem Code (typing / typing_exetensions)
b) target-version pyproject.toml
  • Loading branch information
dornech committed Nov 17, 2024
1 parent 588f644 commit 646677f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ authors = [
classifiers = [ # ToDo: Modify according to your needs!
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down Expand Up @@ -126,7 +128,7 @@ exclude_lines = [
]

[tool.ruff]
target-version = "py38" # ToDo: Modify according to your needs!
# target-version = "py38" # ToDo: Modify according to your needs!
line-length = 120
indent-width = 4
include = [
Expand Down
6 changes: 5 additions & 1 deletion src/pytestdornech/skeleton.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@
import enum
import logging
import sys

# from typing import Annotated
from typing_extensions import Annotated
if sys.version_info >= (3, 9):
from typing import Annotated
else:
from typing_extensions import Annotated

import typer

Expand Down

0 comments on commit 646677f

Please sign in to comment.