ruff
Rewrite ecosystem checks and add `ruff format` reports
#8223
Merged

Rewrite ecosystem checks and add `ruff format` reports #8223

zanieb merged 76 commits into main from zanie/ecosystem-format
zanieb
zanieb zanieb force pushed from 0202efd1 to ea0602ad 2 years ago
github-actions
zanieb zanieb force pushed from 0309cf2e to 77e546ed 2 years ago
zanieb zanieb force pushed from 29f49fdb to fd7fc907 2 years ago
zanieb zanieb force pushed from fd7fc907 to 5f1ef598 2 years ago
zanieb zanieb added internal
zanieb zanieb force pushed from 5c70f8d5 to 65db6936 2 years ago
zanieb zanieb force pushed from dddeffed to 2f1b233b 2 years ago
MichaReiser
MichaReiser commented on 2023-10-26
konstin
konstin approved these changes on 2023-10-27
MichaReiser
zanieb Refactor ecosystem checks into module
4b79f578
zanieb Add formatter ecosystem checks
ab49eaae
zanieb Update formatter if
92f935eb
zanieb Lint
d6aa1179
zanieb Check against v0.0.292 for debugging
ff3dc646
zanieb Add unidiff dep
071c54e8
zanieb Write results separately then combine
f72c37ff
zanieb Skip tests for now
246830c2
zanieb Skip fuzz and bench as well
4288d8a6
zanieb Skip more CI checks to speed things up
fc6a3c1c
zanieb Use `<pre>` for check output
cbc24a3d
zanieb Add max lines per project to `ruff check`
368cb3ee
zanieb Remove file links (only do line links)
89501451
zanieb Tweak pull request comment
f7790698
zanieb Fix titles
28bfab5e
zanieb Fix file paths
3fd64dac
zanieb Fix paths
c437a899
zanieb Continue the battle for if-comment
8a48dfe3
zanieb Revert all changes to `pr-comment`
b049c865
zanieb Combine reports into a single artifact again
c547ec14
zanieb Move rule change table into details block
d6e35f72
zanieb Change table title
9c63d802
zanieb Update options display
8898906e
zanieb Fix formatting of command
11e99655
zanieb Improve rule table title
c2cae712
zanieb Loosen linked ranges for format diffs since they are not correct
db5dfd4e
zanieb Use `set` instead of `sorted` in `RuleChanges.from_diff`
1f4e87f0
zanieb Clean up Python implementation; enable all projects
1c820b02
zanieb Sort imports
c806b4a3
zanieb Add messy fixable detection to reduce rule changes
60250818
zanieb Refactor fixable detection
333aedc9
zanieb Fix titles
5a055aad
zanieb Fix affected rules total
88e3663d
zanieb Improve limits per rule code
25bda80e
zanieb Restore changelog
250b226f
zanieb Restructuring parsing
89f9803f
zanieb Fix calculation to ignore fixes
d4e94188
zanieb Fix table
1f6b28c2
zanieb Restore display of fixes
ce290076
zanieb Fix added / removed counts for `format`
615e5690
zanieb Add more truncation?
2e36781a
zanieb Fix table
9a8bd09a
zanieb Enable all projects again
9cdf8640
zanieb Add completed project count to summary title
85de1e97
zanieb Truncate more aggressively
e0def9ef
zanieb Fix project truncation
1bbe88f0
zanieb Display errors in code fences
2270485c
zanieb Remove comma for consistency
06f71f52
zanieb Test adding color to diff; fix newline in error report
087d9c70
zanieb Strip all newlines from error reports
823ec4cf
zanieb in files -> across files
6f593cac
zanieb Fix error rendering
a1bec32a
zanieb Drop coloring
3936bc11
zanieb Improve readme description.
7dc97fd3
zanieb Undo changes to CI
d5127842
zanieb Run CI workflow when its changed
63f1122a
zanieb zanieb force pushed from f5a8feb9 to 63f1122a 2 years ago
zanieb Add deprecation message to old ecosystem script
54bc4930
zanieb Guard against dataclass types in jsonable implementation
23050b36
zanieb Add mutability note for `RuleChanges`
e304d466
zanieb Fix `total_changes_by_rule` type annotation
8441db69
zanieb Use `cls` in `DiagnosticLine.try_from_string`
c4bddb88
zanieb Explicitly cast checkout directory to string
2a14b949
zanieb Fix `limited_parallelism` type annotation
a16c04c6
zanieb Rename `cache` variable; update `clone` type
05ab3166
zanieb Remove format ignore lines re
5f28912a
zanieb Fix spacing in examples
39c04c83
zanieb Improve handling of ruff executable lookup
eb769ac0
zanieb Fix missing newline
b6066c6b
zanieb Lint
c3354ad8
zanieb Add docstrings for formatting
1337c4ad
zanieb Fix chmod
0c1a7ffb
zanieb Fix missing space
ee1883ac
zanieb Merge branch 'main' into zanie/ecosystem-format
7d4b59d6
zanieb zanieb marked this pull request as ready for review 2 years ago
zanieb Show a different summary if there are only errors
7d512260
zanieb Use `FormatOptions`; exclude file from `demisto/content` with syntax …
16e511a7
zanieb Lint
88bf2ac4
zanieb zanieb merged fc94857a into main 2 years ago
zanieb zanieb deleted the zanie/ecosystem-format branch 2 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone