Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
295b4e8
Add check mode and exit codes
LoicRiegel May 1, 2025
908ef3a
add --check in README
LoicRiegel May 1, 2025
87b8aa2
add warning if 0 files found
LoicRiegel May 1, 2025
94a54fa
add colored dependency and fix running checks
LoicRiegel May 1, 2025
190b3f6
add FormatError with thiserror, remove anyhow, and use it in format_i…
LoicRiegel May 1, 2025
6badc30
fix warning message
LoicRiegel May 1, 2025
b21d9d3
fixed tests and clippy
LoicRiegel May 1, 2025
26395e7
error if invalid path provided
LoicRiegel May 1, 2025
e3857c3
errors always displayed first
LoicRiegel May 1, 2025
7b11e2b
revert unwanted changes
LoicRiegel May 1, 2025
61adf7a
better looking relative paths
LoicRiegel May 1, 2025
4f3ee8b
exit codes in readme
LoicRiegel May 3, 2025
de3fb2b
read config from file
LoicRiegel May 3, 2025
1f446e7
cargo update
LoicRiegel May 3, 2025
ebc6d79
fix error
LoicRiegel May 3, 2025
ccd40cf
extract fn to refactor
LoicRiegel May 3, 2025
f8849ba
look for config_file in parents directories
LoicRiegel May 3, 2025
e324ba1
refactor FileDiagnostic and combine check and format to remove duplic…
LoicRiegel May 4, 2025
479d04b
add tests
LoicRiegel May 4, 2025
812580f
more tests
LoicRiegel May 4, 2025
fb993d0
more tests and fix exit code when not checking
LoicRiegel May 4, 2025
251aaee
more unit tests
LoicRiegel May 4, 2025
7707e88
remove unused dep
LoicRiegel May 4, 2025
5c0d6e3
fix clippy and move clippy config from workflow to code
LoicRiegel May 4, 2025
b2ee7f3
cargo fmt
LoicRiegel May 4, 2025
c2e75c1
replace colored by nu-ansi-term
LoicRiegel May 4, 2025
7639b67
some renamings
LoicRiegel May 4, 2025
36867dd
replace --check by --dry-run, and create Mode enum
LoicRiegel May 8, 2025
5b58014
fix Mode in benches
LoicRiegel May 8, 2025
b32204b
cargo fmt
LoicRiegel May 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@ jobs:
--all-targets \
--no-deps \
--workspace \
-- \
-D warnings \
-D rustdoc::broken_intra_doc_links \
-W clippy::explicit_iter_loop \
-W clippy::explicit_into_iter_loop \
-W clippy::semicolon_if_nothing_returned \
-W clippy::doc_markdown \
-W clippy::manual_let_else

test:
name: test rust files
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ result
# editors
.idea/
.vscode/

# Everyone their own
tmp/
Loading