diff --git a/litestar_htmx/plugin.py b/litestar_htmx/plugin.py index af7063c..51ef48b 100644 --- a/litestar_htmx/plugin.py +++ b/litestar_htmx/plugin.py @@ -27,7 +27,7 @@ class HTMXPlugin(InitPluginProtocol): """Flash messages Plugin.""" - def __init__(self): + def __init__(self) -> None: """Initialize the plugin.""" def on_app_init(self, app_config: AppConfig) -> AppConfig: diff --git a/pyproject.toml b/pyproject.toml index 9eab1b1..7c27508 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ maintainers = [ name = "litestar-htmx" readme = "README.md" requires-python = ">=3.8, <4.0" -version = "0.2.2" +version = "0.2.3" [build-system] build-backend = "hatchling.build" @@ -69,34 +69,34 @@ ignore-words-list = "te" skip = 'uv.lock' [tool.coverage.run] -omit = ["*/tests/*"] -plugins = ["covdefaults"] -source = ["litestar_htmx"] branch = true concurrency = ["multiprocessing"] disable_warnings = ["no-data-collected", "module-not-measured", "module-not-imported"] +omit = ["*/tests/*"] parallel = true +plugins = ["covdefaults"] +source = ["litestar_htmx"] [tool.coverage.report] # Regexes for lines to exclude from consideration exclude_lines = [ - # Have to re-enable the standard pragma - "pragma: no cover", + # Have to re-enable the standard pragma + "pragma: no cover", - # Don't complain about missing debug-only code: - "def __repr__", - "if self\\.debug", + # Don't complain about missing debug-only code: + "def __repr__", + "if self\\.debug", - # Don't complain if tests don't hit defensive assertion code: - "raise AssertionError", - "raise NotImplementedError", + # Don't complain if tests don't hit defensive assertion code: + "raise AssertionError", + "raise NotImplementedError", - # Don't complain if non-runnable code isn't run: - "if 0:", - "if __name__ == .__main__.:", - "if TYPE_CHECKING:", - 'class .*\bProtocol\):', - '@(abc\.)?abstractmethod', + # Don't complain if non-runnable code isn't run: + "if 0:", + "if __name__ == .__main__.:", + "if TYPE_CHECKING:", + 'class .*\bProtocol\):', + '@(abc\.)?abstractmethod', ] [tool.pytest.ini_options] diff --git a/uv.lock b/uv.lock index 392b73b..b0441db 100644 --- a/uv.lock +++ b/uv.lock @@ -663,7 +663,7 @@ mako = [ [[package]] name = "litestar-htmx" -version = "0.2.1" +version = "0.2.3" source = { editable = "." } dependencies = [ { name = "litestar" },