Skip to content

Commit

Permalink
Add new VSCode Flake8 and mypy extensions
Browse files Browse the repository at this point in the history
This commit will replace the settings for Flake8, mypy, and Pylint that
were previously managed by the main `ms-python.python` extension with
updated settings for the new extensions `ms-python.flake8` and
`ms-python.mypy-type-checker`.

This commit will also add the new extensions to the appropriate manifest
file. The extensions are available on Open VSX for use with VSCodium.

https://open-vsx.org/extension/ms-python/flake8
https://open-vsx.org/extension/ms-python/mypy-type-checker
  • Loading branch information
br3ndonland committed Sep 11, 2023
1 parent e95145d commit 7fe470d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
23 changes: 10 additions & 13 deletions vscode/User/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,28 +174,25 @@
"editor.tabSize": 4
},
"black-formatter.importStrategy": "fromEnvironment",
"flake8.args": ["--max-line-length", "88"],
"flake8.importStrategy": "fromEnvironment",
"isort.args": ["--profile", "black"],
"isort.importStrategy": "fromEnvironment",
"mypy-type-checker.args": [
"--follow-imports=silent",
"--ignore-missing-imports",
"--install-types",
"--show-column-numbers",
"--show-error-codes"
],
"mypy-type-checker.importStrategy": "fromEnvironment",
"pylance.insidersChannel": "off",
"python.analysis.completeFunctionParens": false,
"python.analysis.typeCheckingMode": "off",
"python.disableInstallationCheck": true,
"python.experiments.enabled": false,
"python.insidersChannel": "off",
"python.languageServer": "Jedi",
"python.linting.flake8Args": ["--max-line-length", "88"],
"python.linting.flake8Enabled": true,
"python.linting.flake8Path": "${env:HOMEBREW_PREFIX}/bin/flake8",
"python.linting.mypyArgs": [
"--follow-imports=silent",
"--ignore-missing-imports",
"--install-types",
"--show-column-numbers",
"--show-error-codes"
],
"python.linting.mypyEnabled": true,
"python.linting.mypyPath": "${env:HOMEBREW_PREFIX}/bin/mypy",
"python.linting.pylintEnabled": false,
"python.pythonPath": "python3",
"python.showStartPage": false,
"python.testing.autoTestDiscoverOnSaveEnabled": false,
Expand Down
2 changes: 2 additions & 0 deletions vscode/extensions/marketplace-open-vsx.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ hashicorp.hcl
hashicorp.terraform
mikestead.dotenv
ms-python.black-formatter
ms-python.flake8
ms-python.isort
ms-python.mypy-type-checker
ms-python.python
redhat.vscode-yaml
streetsidesoftware.code-spell-checker
Expand Down

0 comments on commit 7fe470d

Please sign in to comment.