Skip to content
Merged
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
17 changes: 16 additions & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Python on your system, skipping ones that are not installed. You can also run
specific jobs:

```console
$ nox -l # List available tasks
$ nox -s lint # Lint only
$ nox -s tests # Python tests
$ nox -s docs -- serve # Build and serve the docs
Expand Down Expand Up @@ -63,15 +64,29 @@ You can also/alternatively run `pre-commit run` (changes only) or
Use pytest to run the unit checks:

```bash
pip install -e .[test]
pytest
```

or

```bash
nox -s tests
```

## Coverage

Use pytest-cov to generate coverage reports:

```bash
pytest --cov=pyauthorizer
pip install -e .[test]
pytest --cov
```

or

```bash
nox -s tests -- --cov
```

## Building docs
Expand Down