Show count of build errors in each line
Change the build error messages to indicate the NUMBER of errors in the summary line. This will allow us to quantify the quality of the build later
Before | After |
---|---|
ERROR: Flake8 errors | ERROR: 10 flake8 errors |
ERROR: Python paths must be lower_alphanumeric | ERROR: 3 Python filenames not lower_alphanumeric |
ERROR: 1,045 duplicate lines | ERROR: 1,045 duplicate lines (max 1,000) |
ERROR: don't commit binary files | ERROR: 10 binary files |
ERROR: don't commit libraries | ERROR: 5 libraries committed |
ERROR: don't commit minified files | ERROR: 4 minified files committed |
ERROR: don't commit useless files | ERROR: 8 useless files committed |
ERROR: don't duplicate files | ERROR: 3 duplicate files committed |
ERROR: eslint errors | ERROR: 30 eslint errors |
ERROR: follow .editorconfig rules | ERROR: 40 .editorconfig errors |
ERROR: gramex.yaml issues | ERROR: 10 gramex.yaml issues |
ERROR: html errors | ERROR: 40 html errors |
ERROR: keep YAML lines under \d+.*\d+ chars | ERROR: 30 YAML lines over 120 chars |
WARNING: Python security errors | WARNING: 10 Python security errors |
WARNING: Simplify complex JS functions | WARNING: 20 complex JS functions |
WARNING: Simplify complex Python functions | WARNING: 30 complex Python functions |
WARNING: Upgrade to G1 Library | WARNING: 5 uses of G.min.js |
WARNING: [\d,]+ chars in .css files (max: [\d,]+) | WARNING: 10 CSS files with 38,000 > 10,000 chars |
WARNING: [\d,]+ chars in [.jspy,]+ files (max: [\d,]+) | WARNING: 20 JS,PY files with 39,000 > 5,000 chars |
WARNING: gramex init was not used | WARNING: 1 gramex init was not used |
WARNING: stylelint errors (CSS) | WARNING: 30 stylelint errors (CSS) |