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

[pylint] prepping for enabling pylint for non-errors #4884

Merged

Conversation

john-bodley
Copy link
Member

@john-bodley john-bodley commented Apr 26, 2018

To help improve stability, consistency, and code quality I thought it would be prudent to enable pylint for non-errors. Given that numbers of (C)onvention, (R)efactor, and (W)arning violations it seemed best to first i) enable the checks in tox.ini and, ii) disable the checks on a per file basis, to make the problem more tractable.

My plan is to systematically go through these files one-by-one in a series of digestable PRs to remedy the issues.

@codecov-io
Copy link

Codecov Report

Merging #4884 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4884   +/-   ##
=======================================
  Coverage   76.97%   76.97%           
=======================================
  Files          44       44           
  Lines        8537     8537           
=======================================
  Hits         6571     6571           
  Misses       1966     1966
Impacted Files Coverage Δ
superset/import_util.py 100% <ø> (ø) ⬆️
superset/forms.py 98.11% <ø> (ø) ⬆️
superset/__init__.py 72.32% <ø> (ø) ⬆️
superset/migrations/env.py 0% <ø> (ø) ⬆️
superset/db_engines/hive.py 0% <ø> (ø) ⬆️
superset/connectors/base/models.py 90.5% <ø> (ø) ⬆️
superset/data/__init__.py 100% <ø> (ø) ⬆️
superset/connectors/sqla/models.py 74.23% <ø> (ø) ⬆️
superset/utils.py 88.06% <ø> (ø) ⬆️
superset/viz.py 79.87% <ø> (ø) ⬆️
... and 29 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fa3da8c...2b48d50. Read the comment docs.

@mistercrunch
Copy link
Member

LGTM

@john-bodley john-bodley merged commit d533ce0 into apache:master Apr 29, 2018
@john-bodley john-bodley deleted the john-bodley-pylint-add-warnings branch April 29, 2018 03:08
michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
timifasubaa pushed a commit to timifasubaa/incubator-superset that referenced this pull request May 31, 2018
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.25.0 labels Feb 27, 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 🚢 0.25.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants