.pre-commit-config.yaml states that the pylint hook is defined locally, yet .pre-commit-hooks.yaml fails to define it. As a result, attempting to commit will result in an error:
~/gits/dvc (master)$ git commit
black....................................................................Passed
seed isort known_third_party.............................................Passed
isort....................................................................Passed
flake8...................................................................Passed
pylint...................................................................Failed
- hook id: pylint
- exit code: 1
Executable `pylint` not found
beautysh.............................................(no files to check)Skipped
DVC pre-commit...........................................................Passed
- hook id: dvc-pre-commit
- duration: 0.5s
Data and pipelines are up to date.
Defining the hook's language as system and asking devs to manually run pip install .[tests] goes against fundamental principles of pre-commit hooks. None of the other hooks require this.
In any case pylint itself defines .pre-commit-hooks.yaml so we should just use theirs.
.pre-commit-config.yamlstates that thepylinthook is defined locally, yet.pre-commit-hooks.yamlfails to define it. As a result, attempting to commit will result in an error:Defining the hook's language as
systemand asking devs to manually runpip install .[tests]goes against fundamental principles of pre-commit hooks. None of the other hooks require this.In any case
pylintitself defines.pre-commit-hooks.yamlso we should just use theirs.