mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-09 18:03:25 +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:
|
Scripts can be used to run simple tasks, like linting or testing, without having to run `hatch shell` first:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ hatch run lint
|
|
||||||
$ hatch run format
|
$ hatch run format
|
||||||
|
$ hatch run lint
|
||||||
$ hatch run test
|
$ 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:
|
You can run scripts for all available and supported python versions sequentially by setting the `TEST_ALL` variable:
|
||||||
```shell
|
```shell
|
||||||
|
|
Loading…
Reference in a new issue