Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: option to auto-format Nix output using nixfmt #33

Merged
merged 2 commits into from
Aug 12, 2024
Merged

Conversation

aksiksi
Copy link
Owner

@aksiksi aksiksi commented Aug 10, 2024

TODO:

  • Figure out how to get auto-format test to pass during Flake build. For some reason, nixfmt isn't being included during Flake build.

Copy link

codecov bot commented Aug 10, 2024

Codecov Report

Attention: Patch coverage is 38.09524% with 26 lines in your changes missing coverage. Please review.

Project coverage is 71.83%. Comparing base (e5f3568) to head (31d891f).

Files Patch % Lines
main.go 0.00% 12 Missing ⚠️
helpers.go 47.36% 6 Missing and 4 partials ⚠️
nix.go 60.00% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #33      +/-   ##
==========================================
- Coverage   73.88%   71.83%   -2.06%     
==========================================
  Files           6        6              
  Lines         877      710     -167     
==========================================
- Hits          648      510     -138     
+ Misses        193      158      -35     
- Partials       36       42       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@aksiksi aksiksi force-pushed the autofmt branch 5 times, most recently from 599de19 to 31d891f Compare August 12, 2024 20:56
@aksiksi aksiksi marked this pull request as ready for review August 12, 2024 20:59
@aksiksi aksiksi merged commit e2241ef into main Aug 12, 2024
4 checks passed
@aksiksi aksiksi deleted the autofmt branch August 12, 2024 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant