chore(repo): flake formatting
Some checks failed
Actions / Lint Code (Ruff & Pylint) (push) Failing after 48s
Actions / Build Documentation (MkDocs) (push) Successful in 1m5s

This commit is contained in:
Seaswimmer 2024-11-20 12:33:59 -05:00
parent a40f78e88f
commit 7af8e02462
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -9,30 +9,25 @@
}; };
nixConfig = { nixConfig = {
extra-trusted-public-keys = "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="; extra-trusted-public-keys =
"devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=";
extra-substituters = "https://devenv.cachix.org"; extra-substituters = "https://devenv.cachix.org";
}; };
outputs = { self, nixpkgs, devenv, systems, ... } @ inputs: outputs = { self, nixpkgs, devenv, systems, ... }@inputs:
let let forEachSystem = nixpkgs.lib.genAttrs (import systems);
forEachSystem = nixpkgs.lib.genAttrs (import systems); in {
in
{
packages = forEachSystem (system: { packages = forEachSystem (system: {
devenv-up = self.devShells.${system}.default.config.procfileScript; devenv-up = self.devShells.${system}.default.config.procfileScript;
devenv-test = self.devShells.${system}.default.config.test; devenv-test = self.devShells.${system}.default.config.test;
}); });
devShells = forEachSystem devShells = forEachSystem (system:
(system: let pkgs = nixpkgs.legacyPackages.${system};
let in {
pkgs = nixpkgs.legacyPackages.${system};
in
{
default = devenv.lib.mkShell { default = devenv.lib.mkShell {
inherit inputs pkgs; inherit inputs pkgs;
modules = [ modules = [{
{
languages.python = { languages.python = {
enable = true; enable = true;
version = "3.11"; version = "3.11";
@ -44,8 +39,7 @@
}; };
}; };
}; };
} }];
];
}; };
}); });
}; };