OpenKMIP / PyKMIP

A Python implementation of the KMIP specification.
Apache License 2.0
272 stars 134 forks source link

The master branch fails PEP8 checks #692

Closed ktrushin closed 1 year ago

ktrushin commented 1 year ago

Running the tox -e pep8 on the master branch (commit 155c050) as recommended in the documentation yields the following output (excerpt):

pep8 run-test: commands[0] | flake8 kmip/
kmip/core/messages/payloads/discover_versions.py:43:14: E275 missing whitespace after keyword
kmip/core/messages/payloads/discover_versions.py:102:14: E275 missing whitespace after keyword
kmip/core/messages/payloads/query.py:108:14: E275 missing whitespace after keyword
kmip/core/messages/payloads/query.py:712:14: E275 missing whitespace after keyword
kmip/core/messages/payloads/query.py:722:14: E275 missing whitespace after keyword
kmip/core/messages/payloads/query.py:750:14: E275 missing whitespace after keyword
kmip/core/messages/payloads/query.py:764:18: E275 missing whitespace after keyword
kmip/core/messages/payloads/query.py:779:18: E275 missing whitespace after keyword
kmip/core/messages/payloads/query.py:790:18: E275 missing whitespace after keyword
kmip/core/messages/payloads/query.py:797:18: E275 missing whitespace after keyword
kmip/core/messages/payloads/query.py:811:18: E275 missing whitespace after keyword
kmip/core/messages/payloads/query.py:825:18: E275 missing whitespace after keyword
kmip/core/messages/payloads/query.py:839:18: E275 missing whitespace after keyword
kmip/core/messages/payloads/query.py:865:18: E275 missing whitespace after keyword
kmip/pie/objects.py:661:80: E501 line too long (87 > 79 characters)
kmip/pie/objects.py:677:80: E501 line too long (114 > 79 characters)
kmip/pie/objects.py:829:80: E501 line too long (84 > 79 characters)
kmip/pie/objects.py:847:80: E501 line too long (114 > 79 characters)
kmip/pie/objects.py:999:80: E501 line too long (85 > 79 characters)
kmip/pie/objects.py:1016:80: E501 line too long (114 > 79 characters)
kmip/pie/objects.py:1598:80: E501 line too long (97 > 79 characters)
kmip/pie/objects.py:1609:80: E501 line too long (114 > 79 characters)
kmip/pie/objects.py:1619:1: W293 blank line contains whitespace
kmip/services/server/crypto/engine.py:277:13: F841 local variable 'e' is assigned to but never used
kmip/services/server/engine.py:442:9: F841 local variable 'e' is assigned to but never used
kmip/services/server/session.py:110:17: F841 local variable 'e' is assigned to but never used
kmip/tests/integration/services/test_proxykmipclient.py:106:80: E501 line too long (82 > 79 characters)
kmip/tests/integration/services/test_proxykmipclient.py:187:1: W293 blank line contains whitespace
kmip/tests/integration/services/test_proxykmipclient.py:190:80: E501 line too long (92 > 79 characters)
kmip/tests/integration/services/test_proxykmipclient.py:278:80: E501 line too long (85 > 79 characters)
kmip/tests/integration/services/test_proxykmipclient.py:286:80: E501 line too long (86 > 79 characters)
kmip/tests/integration/services/test_proxykmipclient.py:554:1: W293 blank line contains whitespace
kmip/tests/unit/core/messages/test_messages.py:1170:43: E127 continuation line over-indented for visual indent
kmip/tests/unit/core/test_enums.py:177:13: F523 '...'.format(...) has unused arguments at position(s): 0
ERROR: InvocationError for command /home/ktrushin/code/PyKMIP/.tox/pep8/bin/flake8 kmip/ (exited with code 1)
________________________________________________ summary _________________________________________________
ERROR:   pep8: commands failed