diff --git a/pyproject.toml b/pyproject.toml index cf4c5bb4..59c9352b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -115,9 +115,7 @@ select = [ "C90", # McCabe complexity! "NPY", # Numpy linting "N", # PEP8 naming -# "DOC", # Enforce argument, return, and raise to be mentioned in docstrings there is - # also "D" but this even warns about docstring punctuation. Perhaps a step too - # far? +# "D", # Docstring checks these may need to be added gradually ] ignore = [ diff --git a/ruff-increased-checking.toml b/ruff-increased-checking.toml index 118cfbff..37dbd749 100644 --- a/ruff-increased-checking.toml +++ b/ruff-increased-checking.toml @@ -31,9 +31,7 @@ select = [ "C90", # McCabe complexity! "NPY", # Numpy linting "N", # PEP8 naming - "DOC", # Enforce argument, return, and raise to be mentioned in docstrings there is - # also "D" but this even warns about docstring punctuation. Perhaps a step too - # far? + "D", # Docstring checks these may need to be added gradually ] # Line length is set to 88 for ruff. This is what the formatter aims for