#3036 Build failure on Rawhide due to flake8 warnings
Closed: fixed Opened by edewata.

Build fails on Rawhide due to flake8 warnings:

+ flake8 --config ../tox.ini /builddir/build/BUILDROOT/pki-core-10.6.2-1.fc29.x86_64
/builddir/build/BUILDROOT/pki-core-10.6.2-1.fc29.x86_64/usr/lib/python3.6/site-packages/pki/authority.py:353:22: W504 line break after binary operator
    subca_subject = ('cn=subca ' + str(uuid.uuid4()) +
                     ^
/builddir/build/BUILDROOT/pki-core-10.6.2-1.fc29.x86_64/usr/lib/python3.6/site-packages/pki/authority.py:356:26: W504 line break after binary operator
    sub_subca_subject = ('cn=subca2 ' + str(uuid.uuid4()) +
                         ^

The build works fine on F27 and F28.


@cheimes, could you take a look at this? Thanks.

Metadata Update from @edewata:
- Custom field component adjusted to None
- Custom field feature adjusted to None
- Custom field origin adjusted to None
- Custom field proposedmilestone adjusted to None
- Custom field proposedpriority adjusted to None
- Custom field reviewer adjusted to None
- Custom field type adjusted to None
- Custom field version adjusted to None

We had the same issue in FreeIPA and decided to ignore W504: https://github.com/freeipa/freeipa/pull/1958

Metadata Update from @edewata:
- Issue assigned to edewata

Thanks!

The error is ignored now:
https://github.com/dogtagpki/pki/commit/47fa845c6083db5231450abdada78762e7e5a70b

Metadata Update from @edewata:
- Issue close_status updated to: fixed
- Issue set to the milestone: 10.6.2 (was: 10.6)
- Issue status updated to: Closed (was: Open)

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/3154

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Metadata