gitignore pyrightconfig.json, and run fix_python_docstrings
This commit is contained in:
parent
8ee490c29b
commit
2392c9e2de
|
@ -11,3 +11,4 @@
|
|||
__pycache__/
|
||||
*.sqlite3
|
||||
node_modules
|
||||
/pyrightconfig.json
|
||||
|
|
|
@ -13,7 +13,6 @@ from spiffworkflow_backend.routes.admin_blueprint.admin_blueprint import admin_b
|
|||
from spiffworkflow_backend.routes.api_blueprint import api_blueprint
|
||||
from spiffworkflow_backend.routes.process_api_blueprint import process_api_blueprint
|
||||
from spiffworkflow_backend.routes.user_blueprint import user_blueprint
|
||||
from spiffworkflow_backend.models.user import UserModel
|
||||
|
||||
|
||||
def create_app() -> flask.app.Flask:
|
||||
|
|
|
@ -29,6 +29,7 @@ ALLOWED_BPMN_EXTENSIONS = {"bpmn", "dmn"}
|
|||
|
||||
@admin_blueprint.route("/token", methods=["GET"])
|
||||
def token():
|
||||
"""Token."""
|
||||
if current_app.env != "development":
|
||||
return "Not authorized"
|
||||
|
||||
|
|
|
@ -49,7 +49,6 @@ class Script:
|
|||
We may be able to remove the task for each of these calls if we are not using it other than potentially
|
||||
updating the task data.
|
||||
"""
|
||||
|
||||
def make_closure(subclass, task, workflow_id):
|
||||
"""Yes - this is black magic.
|
||||
|
||||
|
@ -85,7 +84,6 @@ class Script:
|
|||
We may be able to remove the task for each of these calls if we are not using it other than potentially
|
||||
updating the task data.
|
||||
"""
|
||||
|
||||
def make_closure_validate(subclass, task, workflow_id):
|
||||
"""Make_closure_validate."""
|
||||
instance = subclass()
|
||||
|
|
Loading…
Reference in New Issue