Skip to content

Conversation

@tseaver
Copy link
Contributor

@tseaver tseaver commented Oct 3, 2016

Speeds it up, plus reduces spew when testing locally.

Speeds it up, plus reduces spew when testing locally.
@tseaver tseaver added the testing label Oct 3, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 3, 2016
os.chdir(git_root)
python_files = subprocess.check_output(['git', 'ls-files', '*py'])
python_files = python_files.strip().split()
candidates, _ = get_files_for_linting()

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@dhermes
Copy link
Contributor

dhermes commented Oct 3, 2016

@tseaver I recently introduced script_utils for shared code like this. Care to move?

import subprocess
import sys

from script_utils import get_files_for_linting

This comment was marked as spam.

be used.
:rtype: pair
:returns: Tuple of the diff base using the the list of filenames to be

This comment was marked as spam.

Copy link
Contributor

@dhermes dhermes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tseaver tseaver merged commit 32cce91 into googleapis:master Oct 4, 2016
@tseaver tseaver deleted the pycodestyle-use_diff_base branch October 4, 2016 05:11
dhermes added a commit to dhermes/google-cloud-python that referenced this pull request Oct 5, 2016
dhermes added a commit to dhermes/google-cloud-python that referenced this pull request Oct 6, 2016
dhermes added a commit to dhermes/google-cloud-python that referenced this pull request Oct 6, 2016
dhermes added a commit to dhermes/google-cloud-python that referenced this pull request Oct 6, 2016
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
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