From 84c3d99bb77ed01f2d42e285f0e755ef83401abe Mon Sep 17 00:00:00 2001 From: Tremain Knight <2108488+tkknight@users.noreply.github.com> Date: Tue, 19 Dec 2023 16:09:19 +0000 Subject: [PATCH] ruff rule D208 compliance. --- .ruff.toml | 1 - .../unit/analysis/geometry/test_geometry_area_weights.py | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.ruff.toml b/.ruff.toml index 38dcd2af3f..96aedee6c6 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -37,7 +37,6 @@ lint.ignore = [ "D200", # One-line docstring should fit on one line "D202", # No blank lines allowed after function docstring "D205", # 1 blank line required between summary line and description - "D208", # Docstring is over-indented "D209", # Multi-line docstring closing quotes should be on a separate line "D211", # No blank lines allowed before class docstring "D300", # triple double quotes `""" / Use triple single quotes `'''` diff --git a/lib/iris/tests/unit/analysis/geometry/test_geometry_area_weights.py b/lib/iris/tests/unit/analysis/geometry/test_geometry_area_weights.py index 29b3ba8c7e..5d7d39dfc4 100644 --- a/lib/iris/tests/unit/analysis/geometry/test_geometry_area_weights.py +++ b/lib/iris/tests/unit/analysis/geometry/test_geometry_area_weights.py @@ -2,10 +2,7 @@ # # 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. -"""Unit tests for the :func:`iris.analysis.geometry.geometry_area_weights` -function. - - """ +"""Unit tests for the :func:`iris.analysis.geometry.geometry_area_weights` function.""" # Import iris.tests first so that some things can be initialised before # importing anything else.