Skip to content

Commit

Permalink
chore(devcontainer): move files to .devcontainer dir (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarcoatl authored Aug 26, 2024
1 parent c9d6f5a commit 038bf4f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfile → .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/ignition-devs/devcontainer-base:python as devcontainer
FROM quay.io/ignition-devs/devcontainer-base:python

COPY requirements.txt /tmp/requirements.txt

Expand All @@ -8,4 +8,4 @@ RUN set -eux; \
python2 -m pip install --requirement \
/tmp/requirements.txt

CMD ["/bin/bash"]
CMD ["/bin/bash"]
3 changes: 2 additions & 1 deletion .devcontainer.json → .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "ignition-api-8.1",
"build": {
"context": "..",
"dockerfile": "Dockerfile"
},
"customizations": {
Expand All @@ -15,4 +16,4 @@
}
},
"onCreateCommand": "pre-commit install && pre-commit install --hook-type commit-msg"
}
}
7 changes: 4 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ root = true

[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[{*.md,*.yaml,*.yml}]
[*.{md,toml,yaml,yml}]
indent_style = space
indent_size = 2
insert_final_newline = true
x-soft-wrap-text = true

[*.py]
[*.{ini,py}]
charset = utf-8
indent_style = space
insert_final_newline = true
indent_size = 4

0 comments on commit 038bf4f

Please sign in to comment.