From 04832892cc0249c70e28a94e25e023fa78a584d3 Mon Sep 17 00:00:00 2001 From: Julian Stirling Date: Tue, 10 Jun 2025 15:59:24 +0100 Subject: [PATCH] Chnge docstring tester from Doc to D as Doc has no effect --- pyproject.toml | 4 +--- ruff-increased-checking.toml | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) 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