Skip to content

Commit

Permalink
Fix linting and auto formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Ott <[email protected]>
  • Loading branch information
DerOetzi committed Jul 25, 2024
1 parent 0942dec commit c79217f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 30 deletions.
4 changes: 3 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
"ms-python.pylint",
"ms-python.python",
"donjayamanne.python-environment-manager",
"github.vscode-github-actions"
"github.vscode-github-actions",
"ms-python.black-formatter",
"ms-azuretools.vscode-docker"
]
}
}
Expand Down
33 changes: 4 additions & 29 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"search.exclude": {
"**/versioneer.py": true,
"versioneer.py": true,
"**/_version.py": true,
"**/*.po": true
},
Expand All @@ -12,35 +12,10 @@
"**/.DS_Store": true,
"**/__pycache__": true
},
"python.linting.pylintEnabled": true,
"python.linting.pylintArgs": [
"--enable=W0611",
"--disable=C0111",
"pylint.args": [
"--rcfile=${workspaceFolder}/core/.pylintrc"
],
"python.linting.enabled": true,
"python.pythonPath": "${workspaceFolder}/.venv/bin/python",
"python.linting.pylintPath": "${workspaceFolder}/.venv/bin/pylint",
"git.alwaysSignOff": true,
"isort.args": [
"--src",
"${workspaceFolder}/core",
"--multi-line",
"3",
"--trailing-comma"
],
"python.envFile": "${workspaceFolder}/core/.env",
"python.formatting.provider": "none",
"colorTabs.config": [
{
"regex": ".*/core/.*",
"color": "#FF0000",
"label": "CORE"
},
{
"regex": ".*/ui/.*",
"color": "#00FF00",
"label": "UI"
}
]
"python.analysis.typeCheckingMode": "off",
"python.analysis.autoImportCompletions": true,
}

0 comments on commit c79217f

Please sign in to comment.