Files
pybricks-api/.vscode/settings.json
T
Laurens Valk bd7806d2d4 all: Format with black.
Also activate auto formatting. Bump flake8 and mark black
disagreements in setup.cfg.
2022-05-27 16:22:05 +02:00

45 lines
1.2 KiB
JSON

{
"python.pythonPath": "${workspaceFolder}/.venv",
"python.formatting.provider": "black",
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"python.linting.pycodestyleEnabled": false,
"python.linting.enabled": true,
"[python]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "ms-python.python"
},
"python.languageServer": "Pylance",
"files.associations": {"*.inc": "restructuredtext"},
"restructuredtext.confPath": "${workspaceFolder}/doc/main",
"spellright.language": [
"en_US"
],
"spellright.ignoreFiles": [
"**/.gitignore",
"**/.vscode",
"**/conf.py"
],
"spellright.ignoreRegExps": [
"/:math:`[^]*?`/gm",
"/``[^]*?``/gm",
"/'[^]*?'/gm",
"/.. data:: [^]*?'*$/gm",
"/.. figure:: [^]*?'*$/gm",
"/.. include:: [^]*?'*$/gm",
"/.. raw:: [^]*?'*$/gm",
"/.. currentmodule:: [^]*?'*$/gm",
"/.. _[^]*?'*$/gm",
"/:target:[^]*?'*$/gm",
"/:alt:[^]*?'*$/gm",
],
"spellright.documentTypes": [
"markdown",
"latex",
"plaintext",
"python",
"restructuredtext",
],
"rewrap.wrappingColumn": 78,
}