Skip to content

Commit

Permalink
✅ Mypy fix, prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
ariebovenberg committed Jan 3, 2023
1 parent c77c27a commit de66970
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
@@ -1,6 +1,12 @@
Changelog
=========

0.16.3 (2023-01-03)
-------------------

- Fix broken ``Protocol`` import due to absent ``typing_extensions``
on Python <3.10.

0.16.2 (2022-12-29)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion docs/advanced.rst
Expand Up @@ -18,7 +18,7 @@ Use the following configuration:
repos:
- repo: https://github.com/ariebovenberg/slotscheck
rev: v0.16.2
rev: v0.16.3
hooks:
- id: slotscheck
# If your Python files are not importable from the project root,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "slotscheck"
version = "0.16.2"
version = "0.16.3"
description = "Ensure your __slots__ are working properly."
authors = ["Arie Bovenberg <a.c.bovenberg@gmail.com>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/slotscheck/cli.py
Expand Up @@ -54,7 +54,7 @@
try:
from typing import Protocol
except ImportError: # pragma: no cover
from typing_extensions import Protocol
from typing_extensions import Protocol # type: ignore[assignment]


@click.command("slotscheck")
Expand Down

0 comments on commit de66970

Please sign in to comment.