This commit is contained in:
2024-04-28 15:11:56 -06:00
parent 39d2219bb1
commit 39157db0da
20 changed files with 62 additions and 139 deletions

View File

@@ -1,15 +1,10 @@
{ config, lib, pkgs, ... }:
{
{ config, lib, pkgs, ... }: {
options.my.dev.python.enable = lib.mkEnableOption "enable";
config = lib.mkIf config.my.dev.python.enable {
users.users.jawz.packages = with pkgs; ([
pipenv # python development workflow for humans
(python3.withPackages (ps:
with ps; [
# nose # testing and running python scripts
# poetry # dependency management made easy
# pytest # framework for writing tests
black # Python code formatter
editorconfig # follow rules of contributin
flake8 # wraper for pyflakes, pycodestyle and mccabe
@@ -17,6 +12,9 @@
pyflakes # checks source code for errors
pylint # bug and style checker for python
speedtest-cli # check internet speed from the comand line
# nose # testing and running python scripts
# poetry # dependency management made easy
# pytest # framework for writing tests
]))
]);
};