Skip to content

Conversation

@dhermes
Copy link
Contributor

@dhermes dhermes commented May 6, 2016

  • 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
Copy link
Contributor

tseaver commented May 6, 2016

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
Copy link
Contributor Author

dhermes commented May 6, 2016

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

@dhermes
Copy link
Contributor Author

dhermes commented May 6, 2016

@tseaver PTAL

# """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
Copy link
Contributor Author

dhermes commented May 9, 2016

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

@tseaver
Copy link
Contributor

tseaver commented May 9, 2016

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
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