-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Bump mypy version
Since PIP supports minimum version 3.8
1 parent
11f3811
commit a0d8802
Showing
2 changed files
with
43 additions
and
43 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
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,43 +1,43 @@ | ||
{ | ||
"python.languageServer": "Pylance", | ||
"python.linting.pylintEnabled": false, | ||
"python.linting.enabled": false, | ||
"python.linting.pylintPath": "./.venv/bin/pylint", | ||
"python.formatting.provider": "yapf", | ||
"editor.formatOnSave": true, | ||
"python.defaultInterpreterPath": "./.venv/bin/python", | ||
"mypy.runUsingActiveInterpreter": true, | ||
"emeraldwalk.runonsave": { | ||
"commands": [ | ||
{ | ||
"match": "\\.py$", | ||
"cmd": "cd ${workspaceFolder} && poetry run isort -m 9 --line-length 160 clairvoyance tests scripts" | ||
}, | ||
{ | ||
"match": "\\.py$", | ||
"cmd": "cd ${workspaceFolder} && poetry run autoflake --in-place --remove-unused-variables --remove-all-unused-imports clairvoyance/**/*.py" | ||
}, | ||
{ | ||
"match": "\\.py$", | ||
"cmd": "cd ${workspaceFolder} && poetry run docformatter --wrap-summaries 160 --wrap-descriptions 160 -ri clairvoyance tests scripts" | ||
}, | ||
{ | ||
"match": "\\.py$", | ||
"cmd": "cd ${workspaceFolder} && poetry run unify -ri clairvoyance tests scripts" | ||
} | ||
] | ||
}, | ||
"python.testing.pytestArgs": [ | ||
"--cov=clairvoyance tests scripts" | ||
], | ||
"python.testing.pytestEnabled": true, | ||
"python.testing.pytestPath": "../scripts/pytest-with-cov", | ||
"python.linting.ignorePatterns": [ | ||
"**/site-packages/**/*.py", | ||
".vscode/*.py", | ||
".venv/**" | ||
], | ||
"files.exclude": { | ||
"**/__pycache__": true, | ||
} | ||
} | ||
"python.languageServer": "Pylance", | ||
"python.linting.pylintEnabled": false, | ||
"python.linting.enabled": false, | ||
"python.linting.pylintPath": "./.venv/bin/pylint", | ||
"python.formatting.provider": "yapf", | ||
"editor.formatOnSave": true, | ||
"python.defaultInterpreterPath": "./.venv/bin/python", | ||
"mypy.runUsingActiveInterpreter": true, | ||
"emeraldwalk.runonsave": { | ||
"commands": [ | ||
{ | ||
"match": "\\.py$", | ||
"cmd": "cd ${workspaceFolder} && poetry run isort -m 9 --line-length 160 clairvoyance tests scripts" | ||
}, | ||
{ | ||
"match": "\\.py$", | ||
"cmd": "cd ${workspaceFolder} && poetry run autoflake --in-place --remove-unused-variables --remove-all-unused-imports clairvoyance/**/*.py" | ||
}, | ||
{ | ||
"match": "\\.py$", | ||
"cmd": "cd ${workspaceFolder} && poetry run docformatter --wrap-summaries 160 --wrap-descriptions 160 -ri clairvoyance tests scripts" | ||
}, | ||
{ | ||
"match": "\\.py$", | ||
"cmd": "cd ${workspaceFolder} && poetry run unify -ri clairvoyance tests scripts" | ||
} | ||
] | ||
}, | ||
"python.testing.pytestArgs": [ | ||
"--cov=clairvoyance tests scripts" | ||
], | ||
"python.testing.pytestEnabled": true, | ||
"python.testing.pytestPath": "../scripts/pytest-with-cov", | ||
"python.linting.ignorePatterns": [ | ||
"**/site-packages/**/*.py", | ||
".vscode/*.py", | ||
".venv/**" | ||
], | ||
"files.exclude": { | ||
"**/__pycache__": true, | ||
} | ||
} |