Brian McGee
Brian McGee
@jaen I haven't had any time to look at it yet, but I've made a note to look at it later this week when I should have some time.
@jaen I tried the steps above, and I don't think I'm seeing what you were seeing: ```console ❯ nix fmt -- --no-cache ruff-check error: flavors/lineageos/update_device_dirs.py:196:82: E703 [*] Statement ends with...
Thanks for clarifying the steps. Let me try this tomorrow and see how I get on before going to the trouble of a simpler reproducer.
If I understand correctly, I think what you're seeing is an artefact of how `treefmt` batches paths for processing. I think this has changed since the last time we looked...
@jaen, none yet. I've been on holiday and am just spinning back up. I intend to give `treefmt` some love these next couple of weeks. I need to review this...
I'll give the reproducer another bash and see if I can get to the bottom of what's happening.
Okay, for whatever reason, I find it difficult to keep the context for this issue straight in my head. After reviewing the history again, I see that I started https://github.com/numtide/treefmt/pull/366,...
I spent some time improving #366. Here's an updated version of the reproducer using it: [treefmt-fail-fix.tar.gz](https://github.com/user-attachments/files/16850537/treefmt-fail-fix.tar.gz) On the first application, you can see that `ruff-check` fails, but it proceeds with...
Ok cool, I'll find try and find some time to add a test or two and get this merged.
I think you're seeing the same issue as here: https://github.com/nix-community/nixos-facter/issues/184. If I'm right, it's an old udev version. I just created https://github.com/nix-community/nixos-facter/releases/tag/v0.4.0 and bumped `nixos-facter` in nixpkgs https://nixpkgs-tracker.ocfox.me/?pr=406460. It contains...