diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aa4cfd6..d4cbfcb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -50,7 +50,7 @@ repos: hooks: - id: isort - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.1.0 hooks: - id: black - repo: https://github.com/codespell-project/codespell diff --git a/docs/conf.py b/docs/conf.py index e3cca00..239c944 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,4 +1,5 @@ """Configuration file for the Sphinx documentation builder.""" + # For the full list of built-in configuration values, see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html diff --git a/src/aiovlc/__init__.py b/src/aiovlc/__init__.py index 3fe2b8b..d4744ba 100644 --- a/src/aiovlc/__init__.py +++ b/src/aiovlc/__init__.py @@ -1,2 +1,3 @@ """Control VLC over telnet connection using asyncio.""" + __version__ = "0.3.2" diff --git a/src/aiovlc/cli/__init__.py b/src/aiovlc/cli/__init__.py index bf14050..c85bac9 100644 --- a/src/aiovlc/cli/__init__.py +++ b/src/aiovlc/cli/__init__.py @@ -1,4 +1,5 @@ """Provide a CLI for aiovlc.""" + import logging import click diff --git a/src/aiovlc/cli/client_command.py b/src/aiovlc/cli/client_command.py index bb865ec..18031ba 100644 --- a/src/aiovlc/cli/client_command.py +++ b/src/aiovlc/cli/client_command.py @@ -1,4 +1,5 @@ """Provide a client.""" + import asyncio from collections.abc import Awaitable, Callable import logging diff --git a/src/aiovlc/client.py b/src/aiovlc/client.py index 01784b1..adec59f 100644 --- a/src/aiovlc/client.py +++ b/src/aiovlc/client.py @@ -1,4 +1,5 @@ """Provide a client for aiovlc.""" + from __future__ import annotations import asyncio diff --git a/src/aiovlc/const.py b/src/aiovlc/const.py index 81e0b48..1b2563f 100644 --- a/src/aiovlc/const.py +++ b/src/aiovlc/const.py @@ -1,4 +1,5 @@ """Provide common constants.""" + import logging LOGGER = logging.getLogger(__package__) diff --git a/src/aiovlc/exceptions.py b/src/aiovlc/exceptions.py index 270b6df..fb5659e 100644 --- a/src/aiovlc/exceptions.py +++ b/src/aiovlc/exceptions.py @@ -1,4 +1,5 @@ """Provide exceptions for aiovlc.""" + from __future__ import annotations diff --git a/src/aiovlc/model/command.py b/src/aiovlc/model/command.py index 84ce616..862781d 100644 --- a/src/aiovlc/model/command.py +++ b/src/aiovlc/model/command.py @@ -1,4 +1,5 @@ """Provide commands for aiovlc.""" + from __future__ import annotations from dataclasses import dataclass, field diff --git a/tests/conftest.py b/tests/conftest.py index 8b3d0af..2677afd 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,5 @@ """Provide common fixtures.""" + from __future__ import annotations import asyncio diff --git a/tests/model/test_command.py b/tests/model/test_command.py index bbda193..34748ea 100644 --- a/tests/model/test_command.py +++ b/tests/model/test_command.py @@ -1,4 +1,5 @@ """Test the commands.""" + from __future__ import annotations from typing import Any, Literal diff --git a/tests/test_client.py b/tests/test_client.py index 7c80002..604357a 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -1,4 +1,5 @@ """Test the client.""" + from __future__ import annotations import asyncio