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:
@@ -133,7 +133,7 @@
|
|||||||
{
|
{
|
||||||
"s390x-linux" = s390xOverlays;
|
"s390x-linux" = s390xOverlays;
|
||||||
}
|
}
|
||||||
.${target} or [];
|
.${target} or [ ];
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
crossSystem.config =
|
crossSystem.config =
|
||||||
@@ -152,13 +152,16 @@
|
|||||||
inherit (pkgs) attic-client;
|
inherit (pkgs) attic-client;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
.${target} or {};
|
.${target} or { };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
name = target;
|
name = target;
|
||||||
value = packages // crossOnlyPackages // {
|
value =
|
||||||
default = packages.hello-world;
|
packages
|
||||||
};
|
// crossOnlyPackages
|
||||||
|
// {
|
||||||
|
default = packages.hello-world;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
) (builtins.attrNames crossTargets)
|
) (builtins.attrNames crossTargets)
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user