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:
Saugat Pachhai
2020-06-24 18:02:39 +03:00
committed by GitHub
parent 8495b0521b
commit b81ace54df
21 changed files with 96 additions and 109 deletions
+3 -1
View File
@@ -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"]
+3 -1
View File
@@ -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")