diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f85a4b1..dc06642 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,7 +25,7 @@ jobs: - name: Run mypy shell: bash - run: mypy cantok --strict --implicit-reexport + run: mypy cantok --strict - name: Run ruff shell: bash diff --git a/cantok/__init__.py b/cantok/__init__.py index 59b5fa3..14b19c0 100644 --- a/cantok/__init__.py +++ b/cantok/__init__.py @@ -1,10 +1,10 @@ -from cantok.tokens.abstract_token import AbstractToken # noqa: F401 -from cantok.tokens.simple_token import SimpleToken # noqa: F401 -from cantok.tokens.condition_token import ConditionToken # noqa: F401 -from cantok.tokens.counter_token import CounterToken # noqa: F401 -from cantok.tokens.timeout_token import TimeoutToken +from cantok.tokens.abstract_token import AbstractToken as AbstractToken # noqa: F401 +from cantok.tokens.simple_token import SimpleToken as SimpleToken # noqa: F401 +from cantok.tokens.condition_token import ConditionToken as ConditionToken # noqa: F401 +from cantok.tokens.counter_token import CounterToken as CounterToken # noqa: F401 +from cantok.tokens.timeout_token import TimeoutToken as TimeoutToken -from cantok.errors import CancellationError, ConditionCancellationError, CounterCancellationError, TimeoutCancellationError # noqa: F401 +from cantok.errors import CancellationError as CancellationError, ConditionCancellationError as ConditionCancellationError, CounterCancellationError as CounterCancellationError, TimeoutCancellationError as TimeoutCancellationError # noqa: F401 TimeOutToken = TimeoutToken diff --git a/pyproject.toml b/pyproject.toml index c8d05a7..dcc3a85 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "cantok" -version = "0.0.12" +version = "0.0.13" authors = [ { name="Evgeniy Blinov", email="zheni-b@yandex.ru" }, ]