-
Notifications
You must be signed in to change notification settings - Fork 168
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
[WARNING] Unexpected key(s) present on local => nixpkgs-fmt: types_or #112
Comments
And with nixfmt-rfc-style I'm now seeing on unstable
|
I'm seeing the same thing for
|
Ahh so these are definitely not keys that And it looks like this bug was introduced because of the new ordering options merged earlier today. I assume the intent was not to have these options appear in the output JSON file but they certain are. # DO NOT MODIFY
# This file was generated by git-hooks.nix
{
"default_stages": [
"pre-commit"
],
"repos": [
{
"hooks": [
{
"after": [],
"always_run": false,
"args": [],
"before": [],
"entry": "/nix/store/v79h3cg4m2r80jgrgyn45kcarrf24if7-treefmt/bin/treefmt --fail-on-change --no-cache",
"exclude": "^$",
"exclude_types": [],
"fail_fast": false,
"files": "",
"id": "treefmt",
"language": "system",
"name": "treefmt",
"pass_filenames": true,
"require_serial": false,
"stages": [
"pre-commit"
],
"types": [
"file"
],
"types_or": [],
"verbose": false
}
],
"repo": "local"
}
]
} |
With nixos-unstable, I'm getting warnings like these
It appears that the configuration format has changed with a pre-commit update, or at least it has started checking for unknown fields.
The text was updated successfully, but these errors were encountered: