sys: Added sys files
This commit is contained in:
1 parent
e5cdddf62c
commit
81432523aa
5 files changed
+284
No files matched your search
@@ -0,0 +1,25 @@
|
||||
{ pkgs ? import <nixpkgs> {} }:
|
||||
|
||||
pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
python3
|
||||
ruff
|
||||
pyright
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
if [ ! -d ".venv" ]; then
|
||||
python -m venv .venv
|
||||
fi
|
||||
|
||||
source .venv/bin/activate
|
||||
|
||||
if [ -f "requirements-dev.txt" ]; then
|
||||
pip install -r requirements-dev.txt
|
||||
fi
|
||||
|
||||
if [ -f "dependencies.txt" ]; then
|
||||
pip install -r dependencies.txt
|
||||
fi
|
||||
'';
|
||||
}
|
||||
Reference in new issue
Block a user