dvc: comply with both flake8 and black

flake8 provides some additional features like unused vars check, etc, so
it makes total sense to use it as well.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2019-02-04 00:10:36 +02:00
parent 1cc2e0edcb
commit 4896f08ddf
69 changed files with 940 additions and 268 deletions
+3 -3
View File
@@ -20,9 +20,9 @@ pip install -r scripts/ci/requirements.txt
# stop the build if there are any readme formatting errors
python setup.py checkdocs
# stop the build if there are any black errors
black dvc --check
black tests --check
# stop the build if there are any black or flake8 errors
black ./ --check
flake8 ./
#NOTE: ssh keys for ssh test to be able to ssh to the localhost
ls -la ~/.ssh/