-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
76 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,4 @@ setup.cfg | |
|
||
.pylintrc | ||
.flake8 | ||
.editorconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,75 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.177.0/containers/python-3 | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.177.0/containers/python-3-postgres | ||
// Update the VARIANT arg in docker-compose.yml to pick a Python version: 3, 3.8, 3.7, 3.6 | ||
{ | ||
"name": "hexkit", | ||
"name": "${localWorkspaceFolderBasename}", | ||
"dockerComposeFile": "docker-compose.yml", | ||
"service": "hexkit", | ||
"service": "app", | ||
"workspaceFolder": "/workspace", | ||
"settings": { | ||
"terminal.integrated.shell.linux": "/bin/bash", | ||
"python.pythonPath": "/usr/local/bin/python", | ||
"python.languageServer": "Pylance", | ||
"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.formatting.provider": "black", | ||
"editor.formatOnSave": true, | ||
"python.linting.banditPath": "/usr/local/py-utils/bin/bandit", | ||
"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/py-utils/bin/pylint", | ||
"python.testing.pytestPath": "/usr/local/py-utils/bin/pytest", | ||
"python.testing.unittestEnabled": false, | ||
"python.testing.pytestEnabled": true, | ||
"editor.renderWhitespace": "all", | ||
"editor.rulers": [ | ||
88 | ||
], | ||
"licenser.license": "Custom", | ||
"licenser.customHeaderFile": "/workspace/.devcontainer/license_header.txt" | ||
"customizations": { | ||
"vscode": { | ||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"files.eol": "\n", | ||
"terminal.integrated.profiles.linux": { | ||
"bash": { | ||
"path": "/bin/bash" | ||
} | ||
}, | ||
"python.pythonPath": "/usr/local/bin/python", | ||
"python.languageServer": "Pylance", | ||
"python.analysis.typeCheckingMode": "basic", | ||
"python.testing.pytestPath": "/usr/local/py-utils/bin/pytest", | ||
"python.testing.pytestArgs": [ | ||
"--profile" | ||
], | ||
"python.testing.unittestEnabled": false, | ||
"python.testing.pytestEnabled": true, | ||
"editor.formatOnSave": true, | ||
"editor.renderWhitespace": "all", | ||
"editor.rulers": [ | ||
88 | ||
], | ||
"editor.defaultFormatter": "ms-python.black-formatter", | ||
"licenser.license": "Custom", | ||
"licenser.customHeaderFile": "/workspace/.devcontainer/license_header.txt" | ||
}, | ||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"mikestead.dotenv", | ||
"ms-azuretools.vscode-docker", | ||
"ms-python.python", | ||
"ms-python.vscode-pylance", | ||
"ms-toolsai.jupyter", | ||
"njpwerner.autodocstring", | ||
"redhat.vscode-yaml", | ||
"42crunch.vscode-openapi", | ||
"arjun.swagger-viewer", | ||
"eamodio.gitlens", | ||
"github.vscode-pull-request-github", | ||
"streetsidesoftware.code-spell-checker", | ||
"yzhang.markdown-all-in-one", | ||
"visualstudioexptteam.vscodeintellicode", | ||
"ymotongpoo.licenser", | ||
"charliermarsh.ruff", | ||
"ms-python.black-formatter", | ||
"ms-python.mypy-type-checker" | ||
] | ||
} | ||
}, | ||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"ms-python.python", | ||
"ms-python.vscode-pylance", | ||
"mtxr.sqltools", | ||
"mtxr.sqltools-driver-pg", | ||
"42crunch.vscode-openapi", | ||
"eamodio.gitlens", | ||
"formulahendry.terminal", | ||
"tyriar.terminal-tabs", | ||
"alexcvzz.vscode-sqlite", | ||
"njpwerner.autodocstring", | ||
"arjun.swagger-viewer", | ||
"ms-toolsai.jupyter", | ||
"redhat.vscode-yaml", | ||
"ymotongpoo.licenser", | ||
"ms-azuretools.vscode-docker" | ||
], | ||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
// "forwardPorts": [5000, 5432], | ||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "dev_install", | ||
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||
"remoteUser": "vscode", | ||
"features": { | ||
"ghcr.io/devcontainers/features/docker-in-docker:2": { | ||
"version": "latest", | ||
"enableNonRootDocker": "true", | ||
"moby": true, | ||
"azureDnsAutoDetection": false | ||
} | ||
"containerEnv": { | ||
// for testcontainers to connect to the docker host: | ||
"TC_HOST": "host.docker.internal", | ||
"DOCKER_HOST": "unix:///var/run/docker.sock" | ||
}, | ||
"forwardPorts": [ | ||
"kafka-ui:8080" | ||
] | ||
} | ||
"features": { | ||
// details can be found here: https://github.com/devcontainers/features/tree/main/src/docker-outside-of-docker | ||
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
version: "3" | ||
|
||
services: | ||
hexkit: | ||
app: | ||
build: | ||
context: . | ||
dockerfile: ./Dockerfile | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters