-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
[staging] treewide: remove trailing spaces #109911
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
Conversation
@@ -1445,7 +1445,7 @@ self: { | |||
license = stdenv.lib.licenses.bsd3; | |||
hydraPlatforms = stdenv.lib.platforms.none; | |||
broken = true; | |||
}) {inherit (pkgs) db; inherit (pkgs) dbxml; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is generated automatically and would have to be fixed in https://github.com/NixOS/cabal2nix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's fine if it gets overwritten, this is just to avoid the situation where CI will block on minor linting issues
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is ignored by the editorconfig check.
Lines 91 to 93 in 3ffc05e
[pkgs/development/haskell-modules/hackage-packages.nix] | |
indent_style = unset | |
trim_trailing_whitespace = unset |
EDIT: wrong PR |
Isn't there code/tests that deliberately need trailing whitespace as well? I did a similar treewide PR and recall that. Edit: that file is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reviewed all files, looks good though you might want to indent an installPhase.
} | ||
"; | ||
installPhase = '' | ||
mkdir -p $out/share/dictd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recommend indenting installPhase body by a few spaces.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it was messed up from before, I just want the CI to pass
The |
I'm not trying to solve all the whitespace issues, if a few autogenerated files will recreate whitespace issues, I'm okay with this. I just feel bad when people doing version bumps get linting errors for stuff that's not related to their PR. |
You don't need to solve anything as they don't cause any errors, they can be dropped from this PR. |
looks like there's quite a few conflicts, I'm going to close this |
@jonringer I've picked up some of these changes in #110028. |
Motivation for this change
Just ran
targeting staging as I may be editing blocks of code
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)