File tree Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -57,16 +57,21 @@ repos:
57
57
- id : cspell
58
58
name : Spell check with cspell
59
59
60
- # untill ruff has parity with darglint
61
60
- repo : https://github.com/PyCQA/flake8.git
62
61
rev : 6.1.0
63
62
hooks :
64
63
- id : flake8
65
64
language_version : python3
66
65
additional_dependencies :
67
- - darglint
68
66
- flake8-docstrings
69
67
68
+ - repo : https://github.com/jsh9/pydoclint
69
+ rev : 0.3.4
70
+ hooks :
71
+ - id : pydoclint
72
+ args :
73
+ - " --config=pyproject.toml"
74
+
70
75
- repo : https://github.com/pycqa/pylint.git
71
76
rev : v3.0.1
72
77
hooks :
Original file line number Diff line number Diff line change @@ -51,6 +51,12 @@ write_to = "src/tox_ansible/_version.py"
51
51
[tool .black ]
52
52
line-length = 100
53
53
54
+ [tool .pydoclint ]
55
+ allow-init-docstring = true
56
+ arg-type-hints-in-docstring = false
57
+ check-return-types = false
58
+ style = ' google'
59
+
54
60
[tool .pylint ]
55
61
56
62
[tool .pylint .format ]
You can’t perform that action at this time.
0 commit comments