Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
KotlinIsland committed Dec 10, 2023
1 parent 2eede5b commit 01ac8d0
Show file tree
Hide file tree
Showing 7 changed files with 105 additions and 101 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: check
on: push

env:
POETRY_VERSION: "1.6.1"
POETRY_VERSION: "1.7.1"

jobs:
check:
Expand All @@ -19,16 +19,16 @@ jobs:
usable-python-version: "3.10"
- python-version: "3.11"
usable-python-version: "3.11"
- python-version: "3.12-dev"
- python-version: "3.12"
usable-python-version: "3.12"

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2.1.6
uses: abatilo/actions-poetry@v2.3.0
with:
poetry-version: ${{ env.POETRY_VERSION }}
- run: poetry config virtualenvs.in-project true
Expand All @@ -48,12 +48,12 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.8"
- name: Run image
uses: abatilo/actions-poetry@v2.1.6
uses: abatilo/actions-poetry@v2.3.0
with:
poetry-version: ${{ env.POETRY_VERSION }}
- run: poetry config virtualenvs.in-project true
Expand Down
1 change: 1 addition & 0 deletions basedtyping/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""The main ``basedtyping`` module. the types/functions defined here can be used at both type-time and at runtime."""

from __future__ import annotations

import sys
Expand Down
1 change: 1 addition & 0 deletions basedtyping/runtime_only.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
This is the similar to the ``types`` module.
"""

from __future__ import annotations

from typing import Final, Final as Final_ext, Literal, Union
Expand Down
1 change: 1 addition & 0 deletions basedtyping/typetime_only.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
This is the similar to the ``_typeshed`` module.
"""

from __future__ import annotations

from typing import TYPE_CHECKING, Generic
Expand Down
179 changes: 91 additions & 88 deletions poetry.lock

Large diffs are not rendered by default.

7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = [
]
description = "Utilities for basedmypy"
name = "basedtyping"
version = "0.1.0"
version = "0.1.3"

[tool.poetry.dependencies]
python = "^3.8"
Expand All @@ -15,17 +15,14 @@ typing_extensions = "^4"
basedmypy = "^2"
black = "^23"
pytest = "^7"
ruff = "~0.0.289"
ruff = "~0.1.7"

[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.8"]

[tool.mypy]
python_version = 3.8
pretty = true
show_error_context = true
enable_incomplete_feature = "TypeVarTuple"

[tool.black]
target-version = ["py38"]
Expand Down
1 change: 1 addition & 0 deletions tests/test_reified_generics/test_typevars.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""mypy should catch these, but it doesn't due to https://github.com/python/mypy/issues/7084"""

from __future__ import annotations

from pytest import fixture, raises
Expand Down

0 comments on commit 01ac8d0

Please sign in to comment.