Skip to content

Commit

Permalink
ci: add py3.13 to test.yml (#527)
Browse files Browse the repository at this point in the history
* ci: add py3.13 to test.yml

* Improve type hints

* fix typo
  • Loading branch information
waketzheng authored Jul 23, 2024
1 parent 4543837 commit 4d505f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
matrix:
os:
- ubuntu-latest
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", pypy3.9, pypy3.10]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", pypy3.9, pypy3.10]

steps:
- uses: actions/checkout@v4
Expand All @@ -21,6 +21,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: Upgrade pip
run: python -m pip install --upgrade pip
Expand Down
4 changes: 2 additions & 2 deletions src/dotenv/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import shlex
import sys
from contextlib import contextmanager
from typing import Any, Dict, IO, Iterator, List
from typing import Any, Dict, IO, Iterator, List, Optional

try:
import click
Expand All @@ -16,7 +16,7 @@
from .version import __version__


def enumerate_env():
def enumerate_env() -> Optional[str]:
"""
Return a path for the ${pwd}/.env file.
Expand Down

0 comments on commit 4d505f2

Please sign in to comment.