diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7c45f4bf..f2b37488 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.6 + rev: v0.9.1 hooks: - id: ruff args: diff --git a/src/widgetastic/widget/table.py b/src/widgetastic/widget/table.py index 9800a51f..6850a809 100644 --- a/src/widgetastic/widget/table.py +++ b/src/widgetastic/widget/table.py @@ -731,7 +731,7 @@ def _build_query(self, processed_filters, row_filters): q = f"contains(normalize-space(.), normalize-space({quote(value)}))" elif method == "startswith": # starts with - q = ("starts-with(normalize-space(.), " "normalize-space({}))").format( + q = ("starts-with(normalize-space(.), normalize-space({}))").format( quote(value) ) elif method == "endswith":