Fix "not in openstack/requirements" of Pygments package

Bug #1771479 reported by Nguyen Van Trung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Global Requirements
Won't Fix
Undecided
Nguyen Van Trung

Bug Description

This bug will raise D000 when use doc8 for further check in pep8 of each project.

Currenttly, Openstack Designate must ignore D000 for check along with pep8 & doc8 [1]. We also hit error when use tox -epep8 without Pygments package, as below:

/home/stack/CODE_REVIEW/designate/doc/source/admin/backends/bind9.rst:41: D000 Cannot analyze code. Pygments package not found.
/home/stack/CODE_REVIEW/designate/doc/source/admin/backends/bind9.rst:54: D000 Cannot analyze code. Pygments package not found.
/home/stack/CODE_REVIEW/designate/doc/source/admin/backends/bind9.rst:60: D000 Cannot analyze code. Pygments package not found.
/home/stack/CODE_REVIEW/designate/doc/source/admin/backends/knot2_agent.rst:46: D000 Cannot analyze code. Pygments package not found.
/home/stack/CODE_REVIEW/designate/doc/source/admin/backends/knot2_agent.rst:59: D000 Cannot analyze code. Pygments package not found.
/home/stack/CODE_REVIEW/designate/doc/source/admin/backends/knot2_agent.rst:127: D000 Cannot analyze code. Pygments package not found.
/home/stack/CODE_REVIEW/designate/doc/source/admin/backends/knot2_agent.rst:145: D000 Cannot analyze code. Pygments package not found.
/home/stack/CODE_REVIEW/designate/doc/source/admin/backends/knot2_agent.rst:154: D000 Cannot analyze code. Pygments package not found.
/home/stack/CODE_REVIEW/designate/doc/source/admin/backends/knot2_agent.rst:179: D000 Cannot analyze code. Pygments package not found.

Beside, I also has pushed commit which remove ignore D000 [2] but I got message
"Requirement set([Requirement(package=u'Pygments', location='',
 specifiers='>=2.2.0', markers=u'', comment='', extras=frozenset([]))])
 not in openstack/requirements".

[1] https://github.com/openstack/designate/blob/master/tox.ini#L74
[2] https://review.openstack.org/#/c/567458/

Changed in openstack-requirements:
assignee: nobody → Nguyen Van Trung (trungnv)
Revision history for this message
Matthew Thode (prometheanfire) wrote :

I need more details, how can I reproduce this error.

description: updated
Revision history for this message
Matthew Thode (prometheanfire) wrote :

If we don't get a response soon I'm going to close this.

Changed in openstack-requirements:
status: New → Incomplete
Changed in openstack-requirements:
status: Incomplete → Won't Fix
Revision history for this message
Nguyen Van Trung (trungnv) wrote :

Sorry Matthew, I had fixed it in https://review.openstack.org/#/c/568729/. I don't know why this fixing cannot link into this bug. Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.