Skip to content

Commit

Permalink
update contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
Robpol86 committed Jul 5, 2024
1 parent 2bc660d commit 37134e0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,23 @@ You may follow these steps if you wish to create a pull request. Fork the repo a
in the project's directory run this if you're on macOS (requires [Homebrew](https://brew.sh)):

```bash
brew install python@3.7
brew install python
brew install poetry # More info: https://python-poetry.org
make clean
POETRY_VIRTUALENVS_IN_PROJECT=true poetry env use "$(brew --prefix)/opt/python@3.7/bin/python3"
```

On Ubuntu (including Windows WSL2):

```bash
sudo apt-get update && sudo apt-get install make python3-virtualenv python3.9
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python3 -
sudo apt-get update && sudo apt-get install make python3-virtualenv python3
curl -sSL https://install.python-poetry.org | python3 -
make clean
POETRY_VIRTUALENVS_IN_PROJECT=true poetry env use "$(which python3.9)"
```

Then see if you can run lints and tests:

```bash
make all
make deps all
```

## Writing Tests
Expand Down

0 comments on commit 37134e0

Please sign in to comment.