Skip to content

Commit

Permalink
Fix code style issues with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
lint-action committed Sep 16, 2022
1 parent fda0163 commit eefa2ee
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion autobidsportal/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
)
from autobidsportal.errors import bad_request, not_found_error, internal_error
from autobidsportal.email import mail

# This will register the CLI commands
import autobidsportal.cli # pylint: disable=unused-import

Expand Down Expand Up @@ -84,5 +85,4 @@ def make_shell_context():
"ExplicitPatient": ExplicitPatient,
}


return app
4 changes: 1 addition & 3 deletions autobidsportal/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ def run_update_heuristics():
The point of this wrcurrent_apper function is to expose the task to the CLI.
"""

Task.launch_task(
"update_heuristics", "Update heuristics from CLI"
)
Task.launch_task("update_heuristics", "Update heuristics from CLI")


@portal_blueprint.cli.command()
Expand Down
4 changes: 3 additions & 1 deletion autobidsportal/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@
from autobidsportal.email import send_email

portal_blueprint = Blueprint(
"portal_blueprint", __name__, template_folder="templates",
"portal_blueprint",
__name__,
template_folder="templates",
)


Expand Down

0 comments on commit eefa2ee

Please sign in to comment.