I have a pre-commit set up on a python repo. I have a .pre-commit-config.yaml file where I specify my pylint settings/arguments. Previously my pylint hook worked.
Pylint config in .pre-commit-config.yaml:
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
types: [python]
args:
[
"-rn",
"--rcfile=./polestar.rc",
"--fail-under=6"
]
This config previously worked. Now I get the following error.
pylint: error: no such option: --fail-under
I can't think of anything that has changed to cause this issue.
Any advice would be great or suggestions as to what could fix it.