summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorColin Wilk <colin.wilk@tum.de>2023-10-09 10:42:30 +0200
committerColin Wilk <colin.wilk@tum.de>2023-10-09 10:42:30 +0200
commit1da7f1638babdfe4173d0e87ff3b45b32e0c9123 (patch)
treec3e12222f6372b64651a6dee9b2da124840e2fd7 /.pre-commit-config.yaml
parent0afdff3363897c55ccafa8692e15a066c1ba6dff (diff)
downloadszuruboorupy-1da7f1638babdfe4173d0e87ff3b45b32e0c9123.tar.gz
szuruboorupy-1da7f1638babdfe4173d0e87ff3b45b32e0c9123.zip
Add pydocstyle linter and apply suggestions
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml21
1 files changed, 13 insertions, 8 deletions
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"]