My objective: I want pylint (in combination with pre-commit hooks) not to fail with warnings of the category C,R,W, but on E,F (Errors and fatals) and still output the warnings.
I found a corresponding flag "--fail-on" on pylints-webpage but it didnt work. My pre-commit config looked like:
- repo: local
hooks:
- id: pylint
name: pylint
entry: py -m pylint
language: system
types: [python]
args: [--fail-on=E]
but the pre-commit still fails on warnings. Right now, I disabled the categories C,R,W to pass the pre-commit hooks, but this results in not showing me any warnings anymore.
Question: How can I achieve my upper objective?