diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c0214fd..6e8ad61 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,6 +22,8 @@ repos: rev: 6.1.1 hooks: - id: pydocstyle + args: + - --ignore=D200,D212 - repo: https://github.com/PyCQA/flake8 rev: 3.9.2 hooks: diff --git a/pyproject.toml b/pyproject.toml index ab1b583..01252ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ pydocstyle = "^6.1.1" flake8 = "^3.9.2" [tool.pydocstyle] -ignore = ["D203", "D204", "D212"] +ignore = ["D200", "D203", "D204", "D212"] [build-system] requires = ["poetry-core>=1.0.0"] diff --git a/tests/start.py b/tests/start.py index 89aa8ec..3cc66eb 100755 --- a/tests/start.py +++ b/tests/start.py @@ -51,8 +51,9 @@ 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 containing a certain key.""" + """ + Ensure a service at a given url answers with valid json including a certain key. + """ try: data = httpx.get(url).json() return key in data