pre_commit_linter not in scripts.linters #20319
Unanswered
Felix-Mauyon
asked this question in
Q&A (Other)
Replies: 1 comment
-
Hey @Felix-Mauyon, thanks for bringing this to our attention. The |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@seanlip
I was reading the documentation on Custom Pylint checks: https://github.com/oppia/oppia/wiki/Custom-Pylint-checks
In the section about "write AST checker", the article mentioned that I run this command
>>> from scripts.linters import pre_commit_linter
to import thepre_commit_linter
file but I got this errorImportError: cannot import name 'pre_commit_linter' from 'scripts.linters' (/home/mauyon/OppiaOpenSrc/oppia/scripts/linters/__init__.py)
I also manually searched the scripts.linters module and there is no file named
pre_commit_linter
Please can someone help out on how to address this
Beta Was this translation helpful? Give feedback.
All reactions