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

chore: Upgrade pylint to 2.5.3 and fix most new rules #10101

Merged
merged 9 commits into from Jun 18, 2020

Conversation

willbarrett
Copy link
Member

@willbarrett willbarrett commented Jun 18, 2020

SUMMARY

Bumps pylint to 2.5.3, fixes most of the new checks, disables one new check that would keep us from working around circular import issues that we have right now.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

n/a

TEST PLAN

Rely on CI

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

Reviewers

@john-bodley @mistercrunch @craig-rueda

@willbarrett
Copy link
Member Author

Woohoo! Clean build!

Copy link
Member

@nytai nytai left a comment

Choose a reason for hiding this comment

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

lgtm

@mistercrunch
Copy link
Member

mistercrunch commented Jun 18, 2020

NICE! cc @john-bodley

@mistercrunch
Copy link
Member

Squeaky clean build!

@mistercrunch
Copy link
Member

Mergin' before it conflicts with any of the 40 files it touches!

@mistercrunch mistercrunch merged commit 8e23d4f into apache:master Jun 18, 2020
@mistercrunch mistercrunch deleted the wbarrett/upgrade-pylint branch June 18, 2020 21:03
@john-bodley
Copy link
Member

Thanks @willbarrett. So happy to see people chipping away at fixing pylint.

auxten pushed a commit to auxten/incubator-superset that referenced this pull request Nov 20, 2020
* Bump pylint version to 2.5.3

* Add a global disable for the most common new pylint error

* Fix a bunch of files containing very few errors

* More pylint tweakage, low-hanging fruit

* More easy stuff...

* Fix more erroring files

* Fix the last couple of errors, clean pylint!

* Black

* Fix mypy issue in connectors/druid/models.py
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.37.0 labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/L 🚢 0.37.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants