mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
Enable pylint checks (#4092)
* pylint: enable checks for imports * ci: add github action for pylint * enable pylint on pre-commit * Install requirements * use local pylint installation rather than of pre-commit's * fix import errors * more checks * Silence unused imports * Make a copy of dict
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
from PyInstaller.utils.hooks import copy_metadata
|
||||
from PyInstaller.utils.hooks import ( # pylint:disable=import-error
|
||||
copy_metadata,
|
||||
)
|
||||
|
||||
datas = copy_metadata("google-cloud-storage")
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
from PyInstaller.utils.hooks import copy_metadata
|
||||
from PyInstaller.utils.hooks import ( # pylint:disable=import-error
|
||||
copy_metadata,
|
||||
)
|
||||
|
||||
datas = copy_metadata("google-compute-engine")
|
||||
hiddenimports = ["google_cloud_engine"]
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
from PyInstaller.utils.hooks import copy_metadata
|
||||
from PyInstaller.utils.hooks import ( # pylint:disable=import-error
|
||||
copy_metadata,
|
||||
)
|
||||
|
||||
datas = copy_metadata("pydrive2")
|
||||
datas += copy_metadata("google-api-python-client")
|
||||
|
||||
Reference in New Issue
Block a user