From 9b3827910bffe4449f9d6ab33feaaf3ad5050dcf Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Fri, 8 Nov 2024 13:40:08 +0900 Subject: [PATCH] Use pydoclint for document linter (#101) * Use pydoclint for document linter * Update configs to pass pydoclint check --- setup.cfg | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 7d7eb72..787b3df 100644 --- a/setup.cfg +++ b/setup.cfg @@ -71,7 +71,7 @@ lint = flake8-2020 flake8-docstrings flake8-rst-docstrings - darglint + pydoclint[flake8] mypy publish = twine @@ -109,7 +109,10 @@ exclude = build, tests/run_flake8, flake8_no_implicit_concat/_version.py, - +# pydoclint configs +style = sphinx +arg_type_hints_in_docstring = False +allow_init_docstring = True [isort] # Be happy with black formatter and hacking linter