macisamuele / language-formatters-pre-commit-hooks

Collection of custom pre-commit hooks.
Apache License 2.0
116 stars 58 forks source link

Expose underlying tools error messages while tracking failure of pre-commit hook #116

Closed macisamuele closed 2 years ago

macisamuele commented 2 years ago

The change would allow for possibly an easier debugging experience in case of failures. Inspired by #110 suggestion

codecov[bot] commented 2 years ago

Codecov Report

Merging #116 (bd2aa57) into master (ee59243) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #116   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines          312       310    -2     
=========================================
- Hits           312       310    -2     
Impacted Files Coverage Δ
..._formatters_pre_commit_hooks/pretty_format_yaml.py 100.00% <ø> (ø)
...e_formatters_pre_commit_hooks/pretty_format_ini.py 100.00% <100.00%> (ø)
..._formatters_pre_commit_hooks/pretty_format_toml.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ee59243...bd2aa57. Read the comment docs.