mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-12 15:28:21 +01:00
dvc: automatically reorder imports
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user