From d500041bf860d3cf980a58bc5aa366d3146a4435 Mon Sep 17 00:00:00 2001 From: Tremain Knight <2108488+tkknight@users.noreply.github.com> Date: Thu, 4 Jan 2024 15:05:37 +0000 Subject: [PATCH] ruff compliance for D417 and D104. --- .ruff.toml | 2 -- docs/gallery_tests/__init__.py | 2 ++ docs/src/developers_guide/documenting/__init__.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.ruff.toml b/.ruff.toml index f159f0afca..4ea04e7380 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -25,10 +25,8 @@ lint.ignore = [ # (D-1) Permanent "D105", # Missing docstring in magic method # (D-2) Temporary, to be removed when we are more compliant. Rare cases mmove to (1). - "D417", # Missing argument descriptions in the docstring "D101", # Missing docstring in public class "D102", # Missing docstring in public method - "D104", # Missing docstring in public package # (D-3) Temporary, before an initial review, either fix ocurrences or move to (2). "D100", # Missing docstring in public module "D103", # Missing docstring in public function diff --git a/docs/gallery_tests/__init__.py b/docs/gallery_tests/__init__.py index 091e997248..9468138e04 100644 --- a/docs/gallery_tests/__init__.py +++ b/docs/gallery_tests/__init__.py @@ -2,3 +2,5 @@ # # This file is part of Iris and is released under the BSD license. # See LICENSE in the root of the repository for full licensing details. + +"""Gallery Tests.""" diff --git a/docs/src/developers_guide/documenting/__init__.py b/docs/src/developers_guide/documenting/__init__.py index e69de29bb2..6e031999e7 100644 --- a/docs/src/developers_guide/documenting/__init__.py +++ b/docs/src/developers_guide/documenting/__init__.py @@ -0,0 +1 @@ +# noqa: D104