Always run flake8 through pre-commit, and with doctests (#28490)

* Enable flake8 doctests everywhere

* Always run flake8 through pre-commit
This commit is contained in:
Ville Skyttä
2019-11-06 21:38:00 +02:00
committed by GitHub
parent d9edd42532
commit bb37bc32e3
4 changed files with 4 additions and 3 deletions

2
.vscode/tasks.json vendored
View File

@ -33,7 +33,7 @@
{
"label": "Flake8",
"type": "shell",
"command": "flake8 homeassistant tests",
"command": "pre-commit run flake8 --all-files",
"group": {
"kind": "test",
"isDefault": true