Suggest runing format before lint

This commit is contained in:
Simon Sawicki 2024-02-22 23:10:34 +01:00
parent e8f02202a8
commit 81e47a7718
No known key found for this signature in database

View file

@ -151,10 +151,11 @@ # DEVELOPER INSTRUCTIONS
Scripts can be used to run simple tasks, like linting or testing, without having to run `hatch shell` first:
```shell
$ hatch run lint
$ hatch run format
$ hatch run lint
$ hatch run test
```
Make sure to run `hatch run format` before `hatch run lint` since `autopep8` fixes errors that `ruff` detects but cannot fix.
You can run scripts for all available and supported python versions sequentially by setting the `TEST_ALL` variable:
```shell