Skip to content

Commit

Permalink
Add information about pre-commits in CONTRIBUTING
Browse files Browse the repository at this point in the history
  • Loading branch information
bdvllrs committed Mar 6, 2024
1 parent cae7e98 commit ceeef84
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,14 @@ poetry run ruff check . --fix # lint the project (and fix errors if ruff can)
```sh
poetry run ruff format . # reformat the project
```

> [!NOTE]
> There is a [pre-commit](https://pre-commit.com/) configuration set to lint and
> reformat usinf ruff. Set it up to everything with each commit.
To check type issues with mypy:
```sh
poetry run mypy .
poetry run mypy --install-types .
```

## Tests
Expand Down

0 comments on commit ceeef84

Please sign in to comment.