gitignore pyrightconfig.json, and run fix_python_docstrings

This commit is contained in:
burnettk 2022-06-03 17:29:30 -04:00
parent 8ee490c29b
commit 2392c9e2de
4 changed files with 2 additions and 3 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@
__pycache__/
*.sqlite3
node_modules
/pyrightconfig.json

View File

@ -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:

View File

@ -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"

View File

@ -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()