Skip to content

Commit

Permalink
Enable verbose output for jscpd
Browse files Browse the repository at this point in the history
`jscpd` exits with exit code 0 even if issues were detected, which is in conflict with pre-commit's expectations.
I opened a pull request with a proposed fix - kucherenko/jscpd#463.
Until that is merged, we would have to use the verbose output for `jscpd`. This won't stop the commit in case of errors, but would at least show visual feedback.
  • Loading branch information
maxpatiiuk committed Jun 30, 2021
1 parent 265e531 commit 26e0d94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ repos:
rev: v3.3.25
hooks:
- id: jscpd
verbose: true
#- repo: https://github.com/PyCQA/bandit
# rev: 1.7.0
# hooks:
Expand Down

0 comments on commit 26e0d94

Please sign in to comment.