Change venv name

This commit is contained in:
Andras Schmelczer 2022-05-27 12:36:50 +02:00
parent feff03df5d
commit 476b03f1e7
3 changed files with 7 additions and 4 deletions

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
.env .env
.venv
.DS_Store .DS_Store
__pycache__ __pycache__
.cache .cache

View file

@ -14,6 +14,7 @@
"redoc", "redoc",
"sklearn", "sklearn",
"starlette", "starlette",
"sublinear",
"Tfidf", "Tfidf",
"tinydb", "tinydb",
"uvicorn", "uvicorn",
@ -22,6 +23,7 @@
], ],
"files.exclude": { "files.exclude": {
".env": true, ".env": true,
".venv": true,
"**/.cache": true, "**/.cache": true,
"**/.ipynb_checkpoints": true, "**/.ipynb_checkpoints": true,
"**/.mypy_cache": true, "**/.mypy_cache": true,

8
.vscode/tasks.json vendored
View file

@ -4,9 +4,9 @@
{ {
"label": "Format and lint Python", "label": "Format and lint Python",
"type": "shell", "type": "shell",
"command": "source .env/bin/activate && scripts/format-python.sh great_ai && scripts/format-python.sh examples/simple", "command": "source .venv/bin/activate && scripts/format-python.sh great_ai && scripts/format-python.sh examples/simple",
"windows": { "windows": {
"command": ".env\\bin\\activate.bat; scripts\\format-python.sh great_ai; scripts\\format-python.sh examples\\simple" "command": ".venv\\bin\\activate.bat; scripts\\format-python.sh great_ai; scripts\\format-python.sh examples\\simple"
}, },
"group": "test", "group": "test",
"presentation": { "presentation": {
@ -20,9 +20,9 @@
{ {
"label": "Test Python", "label": "Test Python",
"type": "shell", "type": "shell",
"command": "source .env/bin/activate && python3 -m pytest great_ai", "command": "source .venv/bin/activate && python3 -m pytest great_ai",
"windows": { "windows": {
"command": ".env\\bin\\activate.bat; python3 -m pytest great_ai" "command": ".venv\\bin\\activate.bat; python3 -m pytest great_ai"
}, },
"group": "test", "group": "test",
"presentation": { "presentation": {