[Pki-devel] [PATCH 021] Make pki PEP 8 compatible

Christian Heimes cheimes at redhat.com
Tue Aug 11 19:31:09 UTC 2015


Large portions of the patch was automatically created with autopep8:

find base/ -name '*.py' | xargs autopep8 --in-place --ignore E309 \
    --aggressive
find base/common/upgrade base/server/upgrade -type f -and \
    -not -name .gitignore | autopep8 --in-place --ignore E309 --aggressive
autopep8 --in-place --ignore E309 --aggressive \
    base/common/sbin/pki-upgrade \
    base/server/sbin/pkispawn \
    base/server/sbin/pkidestroy \
    base/server/sbin/pki-server \
    base/server/sbin/pki-server-upgrade

About two dozent violations were fixed manually.

https://fedorahosted.org/pki/ticket/708


NOTE: I'm going to add some checks to the PKI core spec file and tox later.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pki-cheimes-0021-Make-pki-PEP-8-compatible.patch
Type: text/x-patch
Size: 158349 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20150811/1cb73c39/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20150811/1cb73c39/attachment.sig>


More information about the Pki-devel mailing list