Add ruff.toml to exclude .xsh files from ruff linting

Ruff cannot parse xonsh syntax ($(), @()), so xonsh scripts
must be excluded via force-exclude.
This commit is contained in:
Oleks
2026-03-15 13:10:00 +02:00
parent 49fd58b363
commit 20740d8735
2 changed files with 10 additions and 5 deletions
+4 -1
View File
@@ -156,7 +156,10 @@
in
{
name = target;
value = packages // crossOnlyPackages // {
value =
packages
// crossOnlyPackages
// {
default = packages.hello-world;
};
}
+2
View File
@@ -0,0 +1,2 @@
force-exclude = true
extend-exclude = ["*.xsh"]