Skip to content

Commit

Permalink
Updated devcontainer, and pytest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rehanhaider committed Oct 22, 2023
1 parent f158f4f commit 3102f5b
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 30 deletions.
48 changes: 19 additions & 29 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,36 +14,26 @@
}
},
// Set *default* container specific settings.json values on container create.
"settings": {
"python.pythonPath": "/usr/local/bin/python",
"python.languageServer": "Pylance",
"python.linting.enabled": true,
"python.linting.pylintEnabled": false,
"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/py-utils/bin/pylint",
"python.testing.pytestArgs": [
"tests"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"aeschli.vscode-css-formatter",
"visualstudioexptteam.vscodeintellicode",
"github.copilot",
"yzhang.markdown-all-in-one",
"redhat.vscode-yaml"
],
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"aeschli.vscode-css-formatter",
"visualstudioexptteam.vscodeintellicode",
"github.copilot",
"yzhang.markdown-all-in-one",
"redhat.vscode-yaml",
"ms-python.black-formatter",
"ms-vscode.makefile-tools",
"ms-azuretools.vscode-docker"
],
"settings": {
"python.pythonPath": "/usr/local/bin/python"
}
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
Expand Down
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"python.languageServer": "Pylance",
"python.testing.pytestArgs": [
"tests"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
}
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ charset-normalizer==2.1.0
colorama==0.4.5
commonmark==0.9.1
docutils==0.19
exceptiongroup==1.1.3
feedgenerator==2.0.0
html5lib==1.1
idna==3.3
Expand All @@ -30,7 +31,7 @@ py==1.11.0
Pygments==2.15.0
pyHtmlProofer==0.7.3a0
pyparsing==3.0.9
pytest==7.1.2
pytest==7.4.2
python-dateutil==2.8.2
pytz==2022.1
requests==2.31.0
Expand Down

0 comments on commit 3102f5b

Please sign in to comment.