mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-12 19:33:22 +00:00
Suggest runing format before lint
This commit is contained in:
parent
e8f02202a8
commit
81e47a7718
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue