You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi folks! I'm trying to set up using pylint with pylint-django in my repository but running into an issue where if I run pylint on the command line everything is fine, but when I try to run it as part of pre-commit I end up with a lot of the following:
some_file.py:8:0: E0401: Unable to import 'some-package' (import-error)
oh shoot sorry this slipped! I've been really busy lately -- you might also find more resources here (where I tend to link pylint related things): pre-commit/pre-commit-hooks#157
Uh oh!
There was an error while loading. Please reload this page.
Description
Hi folks! I'm trying to set up using
pylint
withpylint-django
in my repository but running into an issue where if I runpylint
on the command line everything is fine, but when I try to run it as part ofpre-commit
I end up with a lot of the following:Configuration
I'm using the following
pre-commit
configuration:Unfortunately multiple upstream issues means I'm pigeon-holed into these versions for the moment.
pre-commit
version: 1.21.0python
version: 3.7.7The text was updated successfully, but these errors were encountered: