Commit Graph

37 Commits

Author SHA1 Message Date
Zanie 88bf2ac43f Lint 2023-10-27 15:48:21 -05:00
Zanie 7d5122603e Show a different summary if there are only errors 2023-10-27 15:39:49 -05:00
Zanie ee1883ac6c Fix missing space 2023-10-27 13:28:09 -05:00
Zanie 1337c4ad2a Add docstrings for formatting 2023-10-27 12:49:29 -05:00
Zanie c4bddb88c9 Use `cls` in `DiagnosticLine.try_from_string` 2023-10-27 12:23:04 -05:00
Zanie 8441db69ae Fix `total_changes_by_rule` type annotation 2023-10-27 12:22:25 -05:00
Zanie e304d46637 Add mutability note for `RuleChanges` 2023-10-27 12:21:03 -05:00
Zanie 23050b3653 Guard against dataclass types in jsonable implementation 2023-10-27 12:15:59 -05:00
Zanie a1bec32a7b Fix error rendering 2023-10-27 12:08:50 -05:00
Zanie 823ec4cf88 Strip all newlines from error reports 2023-10-27 12:08:50 -05:00
Zanie 087d9c705e Test adding color to diff; fix newline in error report 2023-10-27 12:08:50 -05:00
Zanie 2270485c09 Display errors in code fences 2023-10-27 12:08:50 -05:00
Zanie 1bbe88f0a0 Fix project truncation 2023-10-27 12:08:50 -05:00
Zanie e0def9ef95 Truncate more aggressively 2023-10-27 12:08:50 -05:00
Zanie 85de1e97e2 Add completed project count to summary title 2023-10-27 12:08:50 -05:00
Zanie 9a8bd09ae6 Fix table 2023-10-27 12:08:50 -05:00
Zanie 2e36781a8a Add more truncation? 2023-10-27 12:08:50 -05:00
Zanie ce290076b8 Restore display of fixes 2023-10-27 12:08:50 -05:00
Zanie 1f6b28c29c Fix table 2023-10-27 12:08:50 -05:00
Zanie d4e9418825 Fix calculation to ignore fixes 2023-10-27 12:08:50 -05:00
Zanie 89f9803f4a Restructuring parsing 2023-10-27 12:08:50 -05:00
Zanie 25bda80e48 Improve limits per rule code 2023-10-27 12:08:50 -05:00
Zanie 88e3663dbe Fix affected rules total 2023-10-27 12:08:50 -05:00
Zanie 5a055aadb0 Fix titles 2023-10-27 12:08:50 -05:00
Zanie 333aedc903 Refactor fixable detection 2023-10-27 12:08:50 -05:00
Zanie 6025081825 Add messy fixable detection to reduce rule changes 2023-10-27 12:08:44 -05:00
Zanie 1c820b0200 Clean up Python implementation; enable all projects 2023-10-27 12:07:51 -05:00
Zanie 1f4e87f043 Use `set` instead of `sorted` in `RuleChanges.from_diff` 2023-10-27 12:07:51 -05:00
Zanie c2cae71247 Improve rule table title 2023-10-27 12:07:51 -05:00
Zanie 11e99655b8 Fix formatting of command 2023-10-27 12:07:51 -05:00
Zanie 8898906ef4 Update options display 2023-10-27 12:07:51 -05:00
Zanie 9c63d80257 Change table title 2023-10-27 12:07:51 -05:00
Zanie d6e35f72a9 Move rule change table into details block 2023-10-27 12:07:51 -05:00
Zanie 368cb3ee95 Add max lines per project to `ruff check` 2023-10-27 12:07:51 -05:00
Zanie cbc24a3de2 Use `<pre>` for check output 2023-10-27 12:07:51 -05:00
Zanie d6aa117949 Lint 2023-10-27 12:07:51 -05:00
Zanie ab49eaae61 Add formatter ecosystem checks 2023-10-27 12:07:51 -05:00