push last commit
This commit is contained in:
6
firmware/.devcontainer/Dockerfile
Normal file
6
firmware/.devcontainer/Dockerfile
Normal file
@@ -0,0 +1,6 @@
|
||||
FROM python:slim
|
||||
WORKDIR /
|
||||
RUN apt-get -y update; apt-get -y upgrade
|
||||
RUN apt-get -y install git binutils xxd
|
||||
COPY requirements.txt .
|
||||
RUN pip install -r requirements.txt
|
30
firmware/.devcontainer/devcontainer.json
Normal file
30
firmware/.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"name": "cse141L development container",
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile",
|
||||
},
|
||||
"settings": {
|
||||
"terminal.integrated.shell.linux": "/bin/bash",
|
||||
"python.pythonPath": "/usr/local/bin/python",
|
||||
"python.linting.enabled": true,
|
||||
"python.linting.pylintEnabled": true,
|
||||
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
|
||||
"python.formatting.blackPath": "/usr/local/py-utils/bin/black",
|
||||
"python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf",
|
||||
"python.linting.banditPath": "/usr/local/py-utils/bin/bandit",
|
||||
"python.linting.flake8Path": "/usr/local/py-utils/bin/flake8",
|
||||
"python.linting.mypyPath": "/usr/local/py-utils/bin/mypy",
|
||||
"python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle",
|
||||
"python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle",
|
||||
"python.linting.pylintPath": "/usr/local/bin/pylint",
|
||||
"python.testing.pytestPath": "/usr/local/py-utils/bin/pytest",
|
||||
"editor.tabSize": 4,
|
||||
"editor.insertSpaces": false
|
||||
},
|
||||
"extensions": [
|
||||
"mhutchie.git-graph",
|
||||
"ms-python.python",
|
||||
"waderyan.gitblame"
|
||||
],
|
||||
"postCreateCommand": ""
|
||||
}
|
1
firmware/.devcontainer/requirements.txt
Normal file
1
firmware/.devcontainer/requirements.txt
Normal file
@@ -0,0 +1 @@
|
||||
tqdm
|
Reference in New Issue
Block a user