diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3f23baf..6dadb29 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"] # format: 3.7, 3.8, 3.9 + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] # format: 3.7, 3.8, 3.9 platform: [ubuntu-latest, macos-latest, windows-latest] fail-fast: false steps: @@ -27,6 +27,7 @@ jobs: run: | sh scripts/install.sh - name: Lint + if: matrix.python-version != '3.7' run: | poetry run sh scripts/lint.sh - name: Tests diff --git a/envolved/parsers.py b/envolved/parsers.py index f925ca7..74afb0b 100644 --- a/envolved/parsers.py +++ b/envolved/parsers.py @@ -44,7 +44,7 @@ T = TypeVar("T") -if version_info >= (3, 10): +if version_info >= (3, 11): # theoretically, I'd like to restrict this to keyword arguments only, but that's not possible yet in python Parser: TypeAlias = Callable[Concatenate[str, ...], T] else: