Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump mypy version
Browse files Browse the repository at this point in the history
Since PIP supports minimum version 3.8
Privat33r-dev committed Apr 10, 2024

Verified

This commit was signed with the committer’s verified signature.
Privat33r-dev Kerim Kabirov
1 parent 11f3811 commit a0d8802
Showing 2 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion .mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.7
python_version = 3.8
disallow_untyped_defs=True
disallow_untyped_calls=True
disallow_incomplete_defs=True
84 changes: 42 additions & 42 deletions .vscode/settings.json
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,
}
}

0 comments on commit a0d8802

Please sign in to comment.