dvc: automatically reorder imports

This commit is contained in:
Ruslan Kuprieiev
2019-11-05 02:34:40 +02:00
parent 9af4b964eb
commit 95fe1578bb
191 changed files with 820 additions and 695 deletions
+3 -4
View File
@@ -3,11 +3,10 @@
set -x
set -e
pip install Pygments collective.checkdocs flake8 'black==19.3b0'
pip install Pygments collective.checkdocs pre-commit
# stop the build if there are any readme formatting errors
python setup.py checkdocs
# stop the build if there are any black or flake8 errors
black ./ --check
flake8 ./
# stop the build if there are any formatting errors
pre-commit run --all-files
+1 -3
View File
@@ -6,7 +6,6 @@
#
# The full license is in the file COPYING.txt, distributed with this software.
# -----------------------------------------------------------------------------
"""
Hook for PyCryptodome library: https://pypi.python.org/pypi/pycryptodome
@@ -27,9 +26,8 @@ triggered also when PyCrypto is installed, so it must be tested with both.
Tested with PyCryptodome 3.5.1, PyCrypto 2.6.1, Python 2.7 & 3.6, Fedora &
Windows
"""
import os
import glob
import os
from PyInstaller.compat import EXTENSION_SUFFIXES
from PyInstaller.utils.hooks import get_module_file_attribute