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 pycodestyle failing when removing files from repo. #2661

Conversation

daspecster
Copy link
Contributor

I noticed this after removing some unneeded pb files for speech.

Example:

Using files changed relative to origin/master:
------------------------------------------------------------
docs/index.rst
docs/speech-metadata.rst
docs/speech-operation.rst
docs/speech-usage.rst
speech/google/cloud/speech/_gax.py
speech/google/cloud/speech/client.py
speech/google/cloud/speech/metadata.py
speech/google/cloud/speech/operation.py
speech/setup.py
speech/unit_tests/test_client.py
speech/unit_tests/test_metadata.py
speech/unit_tests/test_operation.py
system_tests/speech.py
------------------------------------------------------------
checking speech/google/cloud/speech/_gax.py
checking speech/google/cloud/speech/client.py
checking speech/google/cloud/speech/metadata.py
speech/google/cloud/speech/metadata.py:1:1: E902 IOError: [Errno 2] No such file or directory: 'speech/google/cloud/speech/metadata.py'
checking speech/google/cloud/speech/operation.py
speech/google/cloud/speech/operation.py:1:1: E902 IOError: [Errno 2] No such file or directory: 'speech/google/cloud/speech/operation.py'
checking speech/setup.py
checking speech/unit_tests/test_client.py
checking speech/unit_tests/test_metadata.py
speech/unit_tests/test_metadata.py:1:1: E902 IOError: [Errno 2] No such file or directory: 'speech/unit_tests/test_metadata.py'
checking speech/unit_tests/test_operation.py
speech/unit_tests/test_operation.py:1:1: E902 IOError: [Errno 2] No such file or directory: 'speech/unit_tests/test_operation.py'
checking system_tests/speech.py
ERROR: InvocationError: '/Users/daspecster/Documents/google/google-cloud-py-2/.tox/lint/bin/python /Users/daspecster/Documents/google/google-cloud-py-2/scripts/pycodestyle_on_repo.py'
__________________________________________________________________________________ summary __________________________________________________________________________________
ERROR:   lint: commands failed

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 2, 2016
@daspecster
Copy link
Contributor Author

Obsolete after #2664.

@daspecster daspecster closed this Nov 2, 2016
@daspecster daspecster deleted the fix-pycodestyle-fail-when-removing-file branch January 24, 2017 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement. testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants