From 1da7f1638babdfe4173d0e87ff3b45b32e0c9123 Mon Sep 17 00:00:00 2001 From: Colin Wilk Date: Mon, 9 Oct 2023 10:42:30 +0200 Subject: Add pydocstyle linter and apply suggestions Signed-off-by: Colin Wilk --- .pre-commit-config.yaml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to '.pre-commit-config.yaml') diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3bae5dd..85dac3e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,19 +1,25 @@ repos: -- repo: https://github.com/python-poetry/poetry - rev: 'master' - hooks: +- repo: https://github.com/python-poetry/poetry + rev: 'master' + hooks: - id: poetry-check - id: poetry-install - id: poetry-lock - id: poetry-export -- repo: https://github.com/psf/black - rev: 23.9.1 - hooks: +- repo: https://github.com/psf/black + rev: 23.9.1 + hooks: - id: black +- repo: https://github.com/pycqa/pydocstyle + rev: 6.3.0 + hooks: + - id: pydocstyle + + - repo: local hooks: - id: pylint @@ -32,5 +38,4 @@ repos: entry: poetry run pytype language: system types: [python] - pass_filenames: false - args: ["--keep-going", "src"] + args: ["--keep-going"] -- cgit v1.2.3