GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Use 'diff_base' for pycodestyle check, if set. by tseaver · Pull Request #2486 · googleapis/google-cloud-python

Conversation

@tseaver

@tseaver tseaver commented Oct 3, 2016

Copy link
Copy Markdown
Contributor

Speeds it up, plus reduces spew when testing locally.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@tseaver
Use 'diff_base' for pycodestyle check, if set.
f40f951
Speeds it up, plus reduces spew when testing locally.
@tseaver tseaver added the testing label Oct 3, 2016
@tseaver tseaver assigned daspecster and dhermes Oct 3, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 3, 2016
daspecster
daspecster reviewed Oct 3, 2016
View reviewed changes
Comment thread scripts/pycodestyle_on_repo.py Outdated
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.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes

dhermes commented Oct 3, 2016

Copy link
Copy Markdown
Contributor

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver
Move 'get_files_for_linting' into 'script_utils'.
8c8a50b
Addresses:
#2486 (comment)
dhermes
dhermes reviewed Oct 4, 2016
View reviewed changes
Comment thread scripts/pycodestyle_on_repo.py Outdated
import subprocess
import sys

from script_utils import get_files_for_linting

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

dhermes
dhermes reviewed Oct 4, 2016
View reviewed changes
Comment thread scripts/script_utils.py Outdated
be used.

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

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver
s/get_files_for_linting/get_affected_files/.
eb6c2e5
Also, fix a "the the" typo.
dhermes
dhermes approved these changes Oct 4, 2016
View reviewed changes

@dhermes dhermes left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@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 dhermes mentioned this pull request Oct 5, 2016
Speed up umbrella tox -e cover #2500
Closed
dhermes added a commit to dhermes/google-cloud-python that referenced this pull request Oct 5, 2016
@dhermes
Only running pycodestyle on existing files.
a582ef2
Issue introduced in googleapis#2486.
dhermes added a commit to dhermes/google-cloud-python that referenced this pull request Oct 6, 2016
@dhermes
Fixing issue with pycodestyle on restricted lint.
a51e18d
Was an unintended side-effect of googleapis#2486.
@dhermes dhermes mentioned this pull request Oct 6, 2016
Adding back local dependencies to system test tox envs. #2503
Merged
dhermes added a commit to dhermes/google-cloud-python that referenced this pull request Oct 6, 2016
@dhermes
Fixing issue with pycodestyle on restricted lint.
f429368
Was an unintended side-effect of googleapis#2486.
dhermes added a commit to dhermes/google-cloud-python that referenced this pull request Oct 6, 2016
@dhermes
Only running pycodestyle on existing files.
d235f03
Issue introduced in googleapis#2486.
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
@dhermes
Fixing issue with pycodestyle on restricted lint.
c564ce5
Was an unintended side-effect of googleapis#2486.
@theacodes theacodes unassigned daspecster and dhermes Sep 28, 2018
parthea pushed a commit that referenced this pull request Apr 1, 2026
@chelsea-lin
chore: clean up remaining python 3.9 support codes (#2486)
88178f2
This change is cleaning up remaining Python 3.9 support codes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

2 more reviewers
@daspecster daspecster daspecster left review comments
@dhermes dhermes dhermes approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement. testing

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@tseaver @dhermes @daspecster @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.