Skip to content

Commit

Permalink
fixes from PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jrozek committed Dec 19, 2024
1 parent 9373077 commit 346bc0a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ build
__pycache__
tests/test_django/db.sqlite3
htmlcov
.coverage

# pytest-cov
.coverage*
coverage.xml

# macOS
.DS_Store
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Install the package in editable mode and make sure that `django` and
`pytest-django` are not installed.

```bash
pip install -e .[tests]
pip install -e ".[tests]"
pip uninstall django pytest-django
```

Expand All @@ -50,7 +50,7 @@ Then follow the instructions in
Install the package in editable mode along with Django dependencies:

```bash
pip install -e .[django,tests,django_tests]
pip install -e ".[django,tests,django_tests]"
```

Then follow the instructions in
Expand All @@ -72,10 +72,10 @@ To run tests in parallel, use the following command.
pytest -v -n auto
```

To run tests with coverage, use the following command.
To run coverage tests, use the following command.

```bash
pytest -v --cov=sio3pack --cov-report=html
```

Coverage report will be generated in the `htmlcov/index.html`.
The coverage report will be generated in the file `htmlcov/index.html`.

0 comments on commit 346bc0a

Please sign in to comment.