Skip to content

Commit

Permalink
Merge pull request #9 from greyli/fix-yaml-format
Browse files Browse the repository at this point in the history
  • Loading branch information
greyli committed Nov 29, 2023
2 parents d24811d + 4e29bc6 commit 179c7b4
Show file tree
Hide file tree
Showing 26 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bootstrap-flask.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install bootstrap-flask flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_bootstrap import Bootstrap5; Bootstrap5(app)"
2 changes: 1 addition & 1 deletion .github/workflows/flask-apispec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-apispec flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_apispec import use_kwargs, marshal_with"
2 changes: 1 addition & 1 deletion .github/workflows/flask-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-assets flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_assets import Environment; Environment(app)"
2 changes: 1 addition & 1 deletion .github/workflows/flask-avatars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-avatars flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_avatars import Avatars; Avatars(app)"
2 changes: 1 addition & 1 deletion .github/workflows/flask-babel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-babel flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_babel import Babel; Babel(app)"
2 changes: 1 addition & 1 deletion .github/workflows/flask-caching.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-caching flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_caching import Cache; Cache(app)"
2 changes: 1 addition & 1 deletion .github/workflows/flask-ckeditor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-ckeditor flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_ckeditor import CKEditor; CKEditor(app)"
2 changes: 1 addition & 1 deletion .github/workflows/flask-cors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-cors flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_cors import CORS; CORS(app)"
2 changes: 1 addition & 1 deletion .github/workflows/flask-debugtoolbar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-debugtoolbar flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_debugtoolbar import DebugToolbarExtension; DebugToolbarExtension(app)"
2 changes: 1 addition & 1 deletion .github/workflows/flask-login.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-login flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_login import LoginManager; LoginManager(app)"
2 changes: 1 addition & 1 deletion .github/workflows/flask-mailman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-mailman flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_mailman import Mail; Mail(app)"
2 changes: 1 addition & 1 deletion .github/workflows/flask-marshmallow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-marshmallow flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_marshmallow import Marshmallow; Marshmallow(app)"
2 changes: 1 addition & 1 deletion .github/workflows/flask-migrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-migrate flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_sqlalchemy import SQLAlchemy; from flask_migrate import Migrate; app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite://'; db = SQLAlchemy(app); migrate = Migrate(app, db)"
2 changes: 1 addition & 1 deletion .github/workflows/flask-moment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-moment flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_moment import Moment; Moment(app)"
2 changes: 1 addition & 1 deletion .github/workflows/flask-mongoengine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-mongoengine flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_mongoengine import MongoEngine; db = MongoEngine(app)"
2 changes: 1 addition & 1 deletion .github/workflows/flask-rebar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-rebar flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_rebar import Rebar; Rebar()"
2 changes: 1 addition & 1 deletion .github/workflows/flask-restful.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-restful flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_restful import Api; api = Api(app)"
2 changes: 1 addition & 1 deletion .github/workflows/flask-restx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-restx flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_restx import Api; api = Api(app)"
2 changes: 1 addition & 1 deletion .github/workflows/flask-smorest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-smorest flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_smorest import Api; Api(app, spec_kwargs={'title': 'dummy', 'version': '3', 'openapi_version': '3'})"
2 changes: 1 addition & 1 deletion .github/workflows/flask-socketio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-socketio flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_socketio import SocketIO; SocketIO(app)"
2 changes: 1 addition & 1 deletion .github/workflows/flask-sqlalchemy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-sqlalchemy flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_sqlalchemy import SQLAlchemy; app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite://'; db = SQLAlchemy(app)"
2 changes: 1 addition & 1 deletion .github/workflows/flask-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-testing flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_testing import TestCase; TestCase()"
2 changes: 1 addition & 1 deletion .github/workflows/flask-whooshee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-whooshee flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_whooshee import Whooshee; Whooshee(app)"
2 changes: 1 addition & 1 deletion .github/workflows/flask-wtf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
pip install flask-wtf flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); from flask_wtf import FlaskForm, CSRFProtect; CSRFProtect(app)"
4 changes: 2 additions & 2 deletions extensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ flask-wtf:
init_string: 'from flask_wtf import FlaskForm, CSRFProtect; CSRFProtect(app)'
flask-migrate:
repo: miguelgrinberg/flask-migrate
init_string: 'from flask_sqlalchemy import SQLAlchemy; from flask_migrate import Migrate; app.config[''SQLALCHEMY_DATABASE_URI''] = ''sqlite://''; db = SQLAlchemy(app); migrate = Migrate(app, db)'
init_string: "from flask_sqlalchemy import SQLAlchemy; from flask_migrate import Migrate; app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite://'; db = SQLAlchemy(app); migrate = Migrate(app, db)"
flask-assets:
repo: miracle2k/flask-assets
init_string: 'from flask_assets import Environment; Environment(app)'
Expand Down Expand Up @@ -61,7 +61,7 @@ flask-rebar:
init_string: 'from flask_rebar import Rebar; Rebar()'
flask-sqlalchemy:
repo: pallets/flask-sqlalchemy
init_string: 'from flask_sqlalchemy import SQLAlchemy; app.config[''SQLALCHEMY_DATABASE_URI''] = ''sqlite://''; db = SQLAlchemy(app)'
init_string: "from flask_sqlalchemy import SQLAlchemy; app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite://'; db = SQLAlchemy(app)"
flask-mongoengine:
repo: MongoEngine/flask-mongoengine
init_string: 'from flask_mongoengine import MongoEngine; db = MongoEngine(app)'
Expand Down
2 changes: 1 addition & 1 deletion gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
pip install {{ package_name }} flask
- name: Test initialization
run:
run: |
python -c "from flask import Flask; app = Flask(__name__); {{ init_string }}"
"""
Expand Down

0 comments on commit 179c7b4

Please sign in to comment.