Skip to content

Commit

Permalink
shells/python: init
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Sep 30, 2024
1 parent b7d1e9d commit 9a4ded4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions shells/python/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{ mkShell, pkgs, ... }:
mkShell {
packages = with pkgs; [
black
(python3.withPackages (
ps: with ps; [
flake8
ipython
mypy
pip
pytest
]
))
ruff
];

shellHook = ''
echo 🔨 Python DevShell
python3 -m venv .venv
source .venv/bin/activate
'';
}

0 comments on commit 9a4ded4

Please sign in to comment.