Skip to content

Commit

Permalink
Make pre-commit happy
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdoc committed Jun 22, 2024
1 parent 91c1b4e commit 41a3eef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[codespell]
ignore-words-list = softwares,didi
4 changes: 1 addition & 3 deletions neurodocker/cli/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,9 +442,7 @@ def _base_generate(
# Make sure to add default instructions if they are available among the templates
if "_default" in registered_templates():
# Add header to the instructions, after the base image.
renderer_dict["instructions"].insert(
1, {"name": "_default", "kwds": {}}
)
renderer_dict["instructions"].insert(1, {"name": "_default", "kwds": {}})
# Use default entrypoint if user did not specify one.
instruction_names = [instr["name"] for instr in renderer_dict["instructions"]]
if "entrypoint" not in instruction_names:
Expand Down

0 comments on commit 41a3eef

Please sign in to comment.