Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Small pylint clean-up.#1780

Merged
dhermes merged 1 commit into
googleapis:mastergoogleapis/google-cloud-python:masterfrom
dhermes:tiny-pylint-cleanupdhermes/google-cloud-python:tiny-pylint-cleanupCopy head branch name to clipboard
May 9, 2016
Merged

Small pylint clean-up.#1780
dhermes merged 1 commit into
googleapis:mastergoogleapis/google-cloud-python:masterfrom
dhermes:tiny-pylint-cleanupdhermes/google-cloud-python:tiny-pylint-cleanupCopy head branch name to clipboard

Conversation

@dhermes

@dhermes dhermes commented May 6, 2016

Copy link
Copy Markdown
Contributor
  • Removing some ignore statements by moving some grpc sub-packages/sub-modules into "ignored-modules"
  • Increasing test lines limit to 1900 and removing a line limit ignore at the top of the file
  • Making remaining disables use verbose names instead of short names
  • Locally re-enabling too-many-statements in gcloud/bigquery/test_table.py (was disabled at a scope but never re-enabled)

@tseaver This was inspired by #1779 (e.g. my comment made me wonder about this)

@dhermes dhermes added the hygiene label May 6, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 6, 2016
@tseaver

tseaver commented May 6, 2016

Copy link
Copy Markdown
Contributor

I'd be in favor of globally disabling no-name-in-module: we have real tests which exercise the imports, and don't need pylint's buggy version of not-really-import to "help".

@dhermes

dhermes commented May 6, 2016

Copy link
Copy Markdown
Contributor Author

Good point. 100% code coverage makes all true import failures abundantly clear.

@dhermes

dhermes commented May 6, 2016

Copy link
Copy Markdown
Contributor Author

@tseaver PTAL

Comment thread scripts/pylintrc_default Outdated
# """Hi everyone"""
# and thus causes subsequent imports to be
# diagnosed as out-of-order.
# - wrong-import-position: This error is overzealous. It assumes imports are

This comment was marked as spam.

This comment was marked as spam.

@dhermes

dhermes commented May 9, 2016

Copy link
Copy Markdown
Contributor Author

OK @tseaver I got rid of the erroneous line. Is this good to merge (after squashing)?

@tseaver

tseaver commented May 9, 2016

Copy link
Copy Markdown
Contributor

LGTM

- Increasing test lines limit to 1900 and removing a
  line limit ignore at the top of the file
- Disabling no-name-in-module since requiring 100%
  code coverage guarantees we exercise all imports
- Making remaining disables use verbose names instead of
  short names
- Locally re-enabling too-many-statements in
  gcloud/bigquery/test_table.py (was disabled at a scope
  but never re-enabled)
@dhermes dhermes force-pushed the tiny-pylint-cleanup branch from bfd32e7 to 0352542 Compare May 9, 2016 18:09
@dhermes dhermes merged commit 22634ab into googleapis:master May 9, 2016
@dhermes dhermes deleted the tiny-pylint-cleanup branch May 9, 2016 18:25
@tseaver tseaver mentioned this pull request May 16, 2016
parthea pushed a commit that referenced this pull request Nov 24, 2025
Source-Link: https://togithub.com/googleapis/synthtool/commit/dede53ff326079b457cfb1aae5bbdc82cbb51dc3
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:fac304457974bb530cc5396abd4ab25d26a469cd3bc97cbfb18c8d4324c584eb
parthea pushed a commit that referenced this pull request Mar 6, 2026
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Apr 1, 2026
…queries (#1780)

* fix: include location in Session-based temporary storage manager DDL queries

* fix indentation error

* set location in read session, too

* add missing location parent

* remove broken read session parent
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.