diff --git a/flake.nix b/flake.nix index 1e63721..499a8de 100644 --- a/flake.nix +++ b/flake.nix @@ -20,6 +20,16 @@ drv = self.packages.${system}.dibbler; }; }; + + devShells = { + default = self.devShells.${system}.dibbler; + dibbler = pkgs.mkShell { + packages = with pkgs; [ + python311Packages.black + ruff + ]; + }; + }; }) // diff --git a/pyproject.toml b/pyproject.toml index 99098ed..0de40ff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,4 +25,11 @@ dynamic = ["version"] include = ["dibbler*"] [project.scripts] -dibbler = "dibbler.main:main" \ No newline at end of file +dibbler = "dibbler.main:main" + +[tool.black] +line-length = 100 + +[tool.ruff] +line-length = 100 +