From c04dec629b6a331d36567aea07ed160af4d027c8 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Wed, 8 Mar 2023 17:49:17 +0100 Subject: [PATCH] fix pydocstyle --- pyproject.toml | 3 --- tests/start.py | 4 +--- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d327155..37379be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,8 +38,5 @@ matrix-webhook = "matrix_webhook.__main__:main" [tool.poetry.urls] "changelog" = "https://github.com/nim65s/matrix-webhook/blob/master/CHANGELOG.md" -[tool.pydocstyle] -add-ignore = ["D200", "D203", "D204", "D212"] - [tool.tomlsort] all = true diff --git a/tests/start.py b/tests/start.py index 3cc66eb..4697f73 100755 --- a/tests/start.py +++ b/tests/start.py @@ -51,9 +51,7 @@ def wait_available(url: str, key: str, timeout: int = 10) -> bool: """Wait until a service answer correctly or timeout.""" def check_json(url: str, key: str) -> bool: - """ - Ensure a service at a given url answers with valid json including a certain key. - """ + """Ensure a service answers with valid json including a certain key.""" try: data = httpx.get(url).json() return key in data