mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
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:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user