refined-addition-53644
06/30/2022, 11:07 AMpre-commit
for linting formatting. I added a flake8 plugin called flake8-docstrings
to check for docstring.
In case the lint check for flake8 fails because of docstring, pre-commit doesn't show any log about what are the checks its failing.
On the other hand, when I manually run ./pants lint ::
I do see the log about what are the cases which are failing.
This is how the .pre-commit-config.yaml
section looks like
- repo: local
hooks:
- id: lint-check
name: Checking source files formatting
entry: "./pants --changed-since=main lint"
language: script
types: [python]
pass_filenames: false
verbose: true
hundreds-father-404
06/30/2022, 3:59 PM