Skip to content

Commit

Permalink
all: Format with black.
Browse files Browse the repository at this point in the history
Also activate auto formatting. Bump flake8 and mark black
disagreements in setup.cfg.
  • Loading branch information
laurensvalk committed May 27, 2022
1 parent 24f7d7c commit bd7806d
Show file tree
Hide file tree
Showing 60 changed files with 716 additions and 709 deletions.
7 changes: 6 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{
"python.pythonPath": "${workspaceFolder}/.venv",
"python.formatting.provider": "black",
"python.linting.pycodestyleEnabled": false,
"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",
Expand Down
1 change: 1 addition & 0 deletions .vscode/spellright.dict
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,4 @@ thermistor
toctree
TODO
UART
utf-8

0 comments on commit bd7806d

Please sign in to comment.