diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index deb98e74b..f68442fae 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -30,6 +30,9 @@ "ms-python.vscode-pylance", "ms-python.isort", "ms-python.flake8", + "ms-python.black-formatter", + "ms-python.pylint", + "ms-python.mypy-type-checker", "redhat.vscode-yaml", "esbenp.prettier-vscode", "GitHub.vscode-pull-request-github", @@ -43,25 +46,21 @@ ], "settings": { "python.pythonPath": "/usr/local/bin/python", - "python.linting.enabled": true, - "python.linting.pylintEnabled": true, - "python.linting.pylintPath": "/usr/local/bin/pylint", - "python.linting.flake8Enabled": true, - "python.linting.flake8Path": "/usr/local/bin/flake8", - "python.linting.pycodestylePath": "/usr/local/bin/pycodestyle", - "python.linting.pydocstylePath": "/usr/local/bin/pydocstyle", - "python.formatting.blackPath": "/usr/local/bin/black", - "python.formatting.provider": "black", "python.testing.pytestArgs": ["--no-cov"], - "python.linting.mypyEnabled": true, - "python.linting.mypyPath": "/usr/local/bin/mypy", + "isort.check": true, "editor.rulers": [80], "[python]": { + "editor.defaultFormatter": "ms-python.black-formatter", "editor.rulers": [88], "editor.codeActionsOnSave": { - "source.organizeImports": true + "source.organizeImports": "explicit" } }, + "mypy-type-checker.importStrategy": "fromEnvironment", + "pylint.importStrategy": "fromEnvironment", + "black-formatter.importStrategy": "fromEnvironment", + "flake8.importStrategy": "fromEnvironment", + "isort.importStrategy": "fromEnvironment", "editor.formatOnPaste": false, "editor.formatOnSave": true, "editor.formatOnType": true,