From 85c3467280d47fa22389eedcfe7b0580128f806a Mon Sep 17 00:00:00 2001 From: Niklas Mertsch Date: Fri, 20 Jan 2023 00:14:15 +0100 Subject: [PATCH] Improve consistency --- flake8_docstrings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake8_docstrings.py b/flake8_docstrings.py index 3bc0b1c..de7983a 100644 --- a/flake8_docstrings.py +++ b/flake8_docstrings.py @@ -16,7 +16,7 @@ pydocstyle_version = tuple( int(num) for num in pep257.__version__.split(".") ) - supports_ignore_inline_noqa = pydocstyle_version > (5, 1, 1) + supports_ignore_inline_noqa = pydocstyle_version >= (6, 0, 0) supports_property_decorators = pydocstyle_version >= (6, 2, 0) supports_ignore_self_only_init = pydocstyle_version >= (6, 3, 0) except ImportError: