Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating README instructions to use poetry #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,19 @@ The folder `tests` contains a number of unit tests that can be used to test the
To execute the tests enter the `tests` folder and execute

```
pytest
poetry run pytest
```

You may also execute a specific test-file in the test-suite using, e.g.,

```
pytest test_datamodel.py
poetry run pytest test_datamodel.py
```

or running a specific test within a test-file using, e.g.,

```
pytest test_datamodel.py::TestDataModel::test_validate
poetry run pytest test_datamodel.py::TestDataModel::test_validate
```

# Application integration
Expand All @@ -80,7 +80,7 @@ The file `src/main.py` provides sample code on how to compute fire risk indicati
Running the command

```
python3 main.py
poetry run python main.py
```

should result in similar output as below
Expand Down