diff --git a/Makefile b/Makefile index 186b3857..4f566278 100644 --- a/Makefile +++ b/Makefile @@ -564,10 +564,7 @@ check-security-code-only: mkdir-reports ## run security checks on source code .PHONY: check-docs-only check-docs-only: check-doc8-only check-docf-only check-links-only ## run every code documentation checks -# FIXME: temporary workaround (https://github.com/PyCQA/doc8/issues/145 and https://github.com/PyCQA/doc8/issues/147) -# configuration somehow not picked up directly from setup.cfg in python 3.11 -# setting 'ignore-path-errors' not working without the full path (relative 'docs/changes.rst' fails) -CHECK_DOC8_XARGS := --ignore-path-errors "$(APP_ROOT)/docs/changes.rst;D000" +CHECK_DOC8_XARGS ?= .PHONY: check-doc8-only check-doc8-only: mkdir-reports ## run PEP8 documentation style checks diff --git a/requirements-dev.txt b/requirements-dev.txt index 9d4450d7..6423961b 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -10,7 +10,7 @@ codacy-coverage>=1.3.11 coverage==5.5; python_version < "3" # pyup: ignore coverage>=5.5; python_version >= "3" doc8; python_version < "3.6" -doc8>=0.8; python_version >= "3.6" +doc8>=1.1.2; python_version >= "3.7" docformatter==1.4; python_version < "3.6" # pyup: ignore docformatter; python_version >= "3.6" flake8; python_version < "3.6"