On  2025-07-15 21:59, Thomas Lamprecht wrote:
> Am 14.07.25 um 10:42 schrieb Lukas Wagner:
>> On  2025-07-14 10:30, Gabriel Goller wrote:
> 
>>> Make we should change the Makefile to run `proxmox-biome check`?
>>
>> Maybe, but I think a separate make target could make more sense than 
>> including it
>> in `make check`. The latter is also run during a package build process and 
>> it would
>> be quite annoying to fail that because of a trivial formatting issue. We 
>> also don't do
>> that for Rust, neither for clippy nor rustfmt.
> 
> +1
> 
> If, we should IMO only warn on code failing a formatting check.
> 
>> What definitely would make sense is to add biome format/check --write to the 
>> `make tidy`
>> target, at the moment we seem to only run perltidy there.
> 
> Yeah, that's still missing. Any input on target name? I used `tidy` due to
> correlation with perltidy's name, but would something else be more sensible
> here? 

I think `make tidy` is fine. Alternatives that come to mind are `make format` 
or `make fmt`.
I don't have too much of an opinion here, as long as we use the same target 
name across all relevant
repos.

-- 
- Lukas



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to