From 68a5b88ec3f4f329d7eed10c69e0e5f4feadec23 Mon Sep 17 00:00:00 2001 From: Vikas Vishwakarma Date: Wed, 27 Oct 2021 00:37:52 +0530 Subject: [PATCH] Remove the empty DOCSTRING_IGNORE_LIST --- maint_tools/test_docstrings.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/maint_tools/test_docstrings.py b/maint_tools/test_docstrings.py index 7687cbe52168d..081d5954eddf8 100644 --- a/maint_tools/test_docstrings.py +++ b/maint_tools/test_docstrings.py @@ -11,9 +11,6 @@ numpydoc_validation = pytest.importorskip("numpydoc.validate") -# List of modules ignored when checking for numpydoc validation. -DOCSTRING_IGNORE_LIST = [] - FUNCTION_DOCSTRING_IGNORE_LIST = [ "sklearn._config.config_context", "sklearn._config.get_config", @@ -421,11 +418,6 @@ def test_docstring(Estimator, method, request): import_path = ".".join(import_path) - if Estimator.__name__ in DOCSTRING_IGNORE_LIST: - request.applymarker( - pytest.mark.xfail(run=False, reason="TODO pass numpydoc validation") - ) - res = numpydoc_validation.validate(import_path) res["errors"] = list(filter_errors(res["errors"], method, Estimator=Estimator))