Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix doc8 config parsing error #587

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading