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

Migrated to click #5410

Merged
merged 8 commits into from
Jul 20, 2018
Merged

Migrated to click #5410

merged 8 commits into from
Jul 20, 2018

Conversation

gbates101
Copy link
Contributor

Fixed merge conflicts and linting errors from #4078.

diggzhang and others added 4 commits July 17, 2018 13:13
Flask 0.11 is the built-in integration of the click command line interface.
Flask-Migrate support for the new Flask CLI based on Click after Release 2.0.0.
@mistercrunch
Copy link
Member

Please fix the merge conflicts and build errors

* Moved shell context definition to cli.py
* Switched shell context definition to use decorator.
* Moved create_app definition to cli.py
* Fixed InvocationError with a wrapped function
@codecov-io
Copy link

codecov-io commented Jul 19, 2018

Codecov Report

Merging #5410 into master will increase coverage by 0.02%.
The diff coverage is 92.85%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5410      +/-   ##
==========================================
+ Coverage   59.09%   59.11%   +0.02%     
==========================================
  Files         372      372              
  Lines       23747    23754       +7     
  Branches     2758     2758              
==========================================
+ Hits        14033    14042       +9     
+ Misses       9699     9697       -2     
  Partials       15       15
Impacted Files Coverage Δ
superset/cli.py 46.59% <92.85%> (+1.9%) ⬆️
superset/sql_lab.py 71.6% <0%> (ø) ⬆️
superset/views/core.py 73.37% <0%> (+0.25%) ⬆️

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 99ce7b7...f807483. Read the comment docs.

@gbates101
Copy link
Contributor Author

@mistercrunch Fixed.

@mistercrunch
Copy link
Member

Can we now remove flask-script from our setup.py & requeirments.txt ?

@gbates101
Copy link
Contributor Author

@mistercrunch Oh, yeah good call. Sorry about that.

@mistercrunch
Copy link
Member

LGTM

@mistercrunch mistercrunch merged commit 90decbc into apache:master Jul 20, 2018
timifasubaa pushed a commit to airbnb/superset-fork that referenced this pull request Jul 25, 2018
* Migrate flask_script to the Flask built-in click.

Flask 0.11 is the built-in integration of the click command line interface.
Flask-Migrate support for the new Flask CLI based on Click after Release 2.0.0.

* Resolved merge conflicts.

* Fixed issue introduced from bad merge.

* Fixed flake8 errors, added build to excluded flake8 stuff.

* * Moved the FlaskGroup declaration to the driver script.
* Moved shell context definition to cli.py
* Switched shell context definition to use decorator.
* Moved create_app definition to cli.py
* Fixed InvocationError with a wrapped function

* Added extra newlines between functions

* Removed flask-script dependency.
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
* Migrate flask_script to the Flask built-in click.

Flask 0.11 is the built-in integration of the click command line interface.
Flask-Migrate support for the new Flask CLI based on Click after Release 2.0.0.

* Resolved merge conflicts.

* Fixed issue introduced from bad merge.

* Fixed flake8 errors, added build to excluded flake8 stuff.

* * Moved the FlaskGroup declaration to the driver script.
* Moved shell context definition to cli.py
* Switched shell context definition to use decorator.
* Moved create_app definition to cli.py
* Fixed InvocationError with a wrapped function

* Added extra newlines between functions

* Removed flask-script dependency.
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.28.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.28.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants