-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
nixos/test-driver: apply ruff check suggestions #358150
Conversation
We should probably also switch to ruff instead of flake8. |
Please add |
We are already on ruff. Maybe get rid of black as well? |
It's an attrset, does it work that way? |
You probably have to inherit from nixosTests.nixos-test-driver then. I would just reference |
Done, also modernized it a bit with the new |
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.
LGTM, sorry for breaking the package :/
@ofborg test ferm |
7435d8e
to
172a35f
Compare
Done |
|
@GaetanLepage That was entirely pointless, since it didn't get built in the ruff bump PR either and nothing here changed that. |
Yes, I thought the driver would rebuild, but it is not triggered by nixpkgs-review. Sorry for the useless ping. |
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.