File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM python:3.12
2+
3+ RUN echo 'export PATH="$HOME/.local/bin:$PATH"' >> /root/.bashrc
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " PyNFe" ,
3+ "build" : {
4+ "dockerfile" : " Dockerfile"
5+ },
6+ "features" : {
7+ "ghcr.io/devcontainers/features/python:1" : {
8+ "version" : " 3.12" ,
9+ "installTools" : true
10+ }
11+ },
12+ "workspaceFolder" : " /workspaces/PyNFe/" ,
13+ "mounts" : [
14+ " source=${env:HOME}/.ssh,target=/root/.ssh,type=bind"
15+ ],
16+ "customizations" : {
17+ "vscode" : {
18+ "settings" : {
19+ "python.defaultInterpreterPath" : " /usr/local/bin/python" ,
20+ "python.languageServer" : " Pylance" ,
21+ "editor.formatOnSave" : true ,
22+ "python.linting.enabled" : true ,
23+ "python.linting.linter" : " ruff" ,
24+ "editor.codeActionsOnSave" : {
25+ "source.fixAll" : " explicit"
26+ }
27+ },
28+ "extensions" : [
29+ " eamodio.gitlens" ,
30+ " ms-python.python" ,
31+ " ms-python.vscode-pylance" ,
32+ " charliermarsh.ruff"
33+ ]
34+ }
35+ },
36+ "postCreateCommand" : " pip install --user -r /workspaces/PyNFe/requirements.txt -r /workspaces/PyNFe/requirements-nfse.txt || true"
37+ }
You can’t perform that action at this time.
0 commit comments