feat(ENV): Added Shell env
This commit is contained in:
1 parent
bd19100eb4
commit
d705f2f9d3
1 file changed
+6
@@ -3,6 +3,8 @@
|
|||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
python3
|
python3
|
||||||
|
ruff
|
||||||
|
pyright
|
||||||
];
|
];
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
@@ -12,6 +14,10 @@ pkgs.mkShell {
|
|||||||
|
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
|
|
||||||
|
if [ -f "requirements-dev.txt" ]; then
|
||||||
|
pip install -r requirements-dev.txt
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -f "dependencies.txt" ]; then
|
if [ -f "dependencies.txt" ]; then
|
||||||
pip install -r dependencies.txt
|
pip install -r dependencies.txt
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user