Commit Graph

57 Commits

Author SHA1 Message Date
Zanie
88bf2ac43f Lint 2023-10-27 15:48:21 -05:00
Zanie
16e511a734 Use FormatOptions; exclude file from demisto/content with syntax error 2023-10-27 15:46:33 -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
c3354ad843 Lint 2023-10-27 12:48:14 -05:00
Zanie
b6066c6bef Fix missing newline 2023-10-27 12:41:17 -05:00
Zanie
eb769ac03d Improve handling of ruff executable lookup 2023-10-27 12:40:42 -05:00
Zanie
39c04c8335 Fix spacing in examples 2023-10-27 12:30:49 -05:00
Zanie
5f28912a0d Remove format ignore lines re 2023-10-27 12:29:36 -05:00
Zanie
05ab316609 Rename cache variable; update clone type 2023-10-27 12:29:03 -05:00
Zanie
a16c04c6db Fix limited_parallelism type annotation 2023-10-27 12:25:55 -05:00
Zanie
2a14b94995 Explicitly cast checkout directory to string 2023-10-27 12:23:51 -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 Blue
7dc97fd358 Improve readme description.
Co-authored-by: konsti <konstin@mailbox.org>
2023-10-27 12:08:50 -05:00
Zanie
3936bc119a Drop coloring 2023-10-27 12:08:50 -05:00
Zanie
a1bec32a7b Fix error rendering 2023-10-27 12:08:50 -05:00
Zanie
6f593cac68 in files -> across files 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
06f71f5235 Remove comma for consistency 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
9cdf864043 Enable all projects again 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
615e56906e Fix added / removed counts for format 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
c806b4a35a Sort imports 2023-10-27 12:07:51 -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
db5dfd4eff Loosen linked ranges for format diffs since they are not correct 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