Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
sborms committed Oct 1, 2023
1 parent 83f232f commit 5b4f025
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
install:
@echo ">>> Installing dependencies"
# pip install --upgrade pip && pip install -r requirements.txt
poetry add $(cat requirements.txt)
pip install --upgrade pip && pip install -r requirements.txt

format:
@echo ">>> Formatting files using Black"
Expand All @@ -26,10 +25,6 @@ coverage:
test:
@echo ">>> Running unit tests within existing environment"
python -m pytest -vv

test-docker:
@echo ">>> Running unit tests within an isolated Docker environment"
docker-compose up test

train:
@echo ">>> Training model"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Poetry simplifies overall dependency management. In your GitHub repository direc
- `poetry init`
- `poetry config virtualenvs.in-project true`
- If you want to create your virtual environment folder directly in your project as `.venv/` (comes in handy if your IDE is Visual Studio Code)
- `poetry add $(cat requirements.txt)` (adds dependencies to the `pyproject.toml` file and downloads them) or `poetry install` (simply install all dependencies, for instance when you cloned the repository)
- `poetry add $(cat requirements.txt)` (adds dependencies to the `pyproject.toml` file and downloads them) or `poetry install` (simply installs all dependencies, for instance when you cloned the repository)
- Alternatively, add all packages manually using `poetry add <package_name>`
- `poetry shell` to activate the virtual environment
- Run `exit` to get out of the virtual environment
Expand Down

0 comments on commit 5b4f025

Please sign in to comment.