Skip to content

Commit 01ac8d0

Browse files
committed
update deps
1 parent 2eede5b commit 01ac8d0

File tree

7 files changed

+105
-101
lines changed

7 files changed

+105
-101
lines changed

.github/workflows/check.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: check
33
on: push
44

55
env:
6-
POETRY_VERSION: "1.6.1"
6+
POETRY_VERSION: "1.7.1"
77

88
jobs:
99
check:
@@ -19,16 +19,16 @@ jobs:
1919
usable-python-version: "3.10"
2020
- python-version: "3.11"
2121
usable-python-version: "3.11"
22-
- python-version: "3.12-dev"
22+
- python-version: "3.12"
2323
usable-python-version: "3.12"
2424

2525
steps:
26-
- uses: actions/checkout@v2
27-
- uses: actions/setup-python@v4
26+
- uses: actions/checkout@v4
27+
- uses: actions/setup-python@v5
2828
with:
2929
python-version: ${{ matrix.python-version }}
3030
- name: Run image
31-
uses: abatilo/actions-poetry@v2.1.6
31+
uses: abatilo/actions-poetry@v2.3.0
3232
with:
3333
poetry-version: ${{ env.POETRY_VERSION }}
3434
- run: poetry config virtualenvs.in-project true
@@ -48,12 +48,12 @@ jobs:
4848
lint:
4949
runs-on: ubuntu-latest
5050
steps:
51-
- uses: actions/checkout@v2
52-
- uses: actions/setup-python@v4
51+
- uses: actions/checkout@v4
52+
- uses: actions/setup-python@v5
5353
with:
5454
python-version: "3.8"
5555
- name: Run image
56-
uses: abatilo/actions-poetry@v2.1.6
56+
uses: abatilo/actions-poetry@v2.3.0
5757
with:
5858
poetry-version: ${{ env.POETRY_VERSION }}
5959
- run: poetry config virtualenvs.in-project true

basedtyping/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""The main ``basedtyping`` module. the types/functions defined here can be used at both type-time and at runtime."""
2+
23
from __future__ import annotations
34

45
import sys

basedtyping/runtime_only.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
44
This is the similar to the ``types`` module.
55
"""
6+
67
from __future__ import annotations
78

89
from typing import Final, Final as Final_ext, Literal, Union

basedtyping/typetime_only.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
33
This is the similar to the ``_typeshed`` module.
44
"""
5+
56
from __future__ import annotations
67

78
from typing import TYPE_CHECKING, Generic

poetry.lock

Lines changed: 91 additions & 88 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ authors = [
55
]
66
description = "Utilities for basedmypy"
77
name = "basedtyping"
8-
version = "0.1.0"
8+
version = "0.1.3"
99

1010
[tool.poetry.dependencies]
1111
python = "^3.8"
@@ -15,17 +15,14 @@ typing_extensions = "^4"
1515
basedmypy = "^2"
1616
black = "^23"
1717
pytest = "^7"
18-
ruff = "~0.0.289"
18+
ruff = "~0.1.7"
1919

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

2424
[tool.mypy]
2525
python_version = 3.8
26-
pretty = true
27-
show_error_context = true
28-
enable_incomplete_feature = "TypeVarTuple"
2926

3027
[tool.black]
3128
target-version = ["py38"]

tests/test_reified_generics/test_typevars.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""mypy should catch these, but it doesn't due to https://github.com/python/mypy/issues/7084"""
2+
23
from __future__ import annotations
34

45
from pytest import fixture, raises

0 commit comments

Comments
 (0)