Skip to content

Commit

Permalink
update contributing docs, rm nox, add pdm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sneakers-the-rat committed Nov 5, 2024
1 parent c70b298 commit 1e3ad63
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions docs/meta/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,19 @@ ruff check --fix
black miniscope_io
```

Or you can use the `pre-commit` action to automatically run them
before committing code:
Or using pdm scripts

```shell
pre-commit install
# check for problems
pdm run lint

# format code & try to resolve linter errors
pdm run format
```

Or you can use the `noxfile.py`
Or you can use the `pre-commit` action to automatically run them
before committing code:

```shell
# just lint without formatting
nox -s lint
# lint and apply formatting
nox -s format
pre-commit install
```





0 comments on commit 1e3ad63

Please sign in to comment.