mirror of
https://github.com/shirayu/whispering.git
synced 2024-12-04 06:46:30 +00:00
Add make style (Resolve #42)
This commit is contained in:
parent
2dd2c6c036
commit
98060c4ca0
2 changed files with 13 additions and 3 deletions
4
Makefile
4
Makefile
|
@ -35,3 +35,7 @@ markdownlint:
|
||||||
|
|
||||||
lint_node: markdownlint pyright
|
lint_node: markdownlint pyright
|
||||||
|
|
||||||
|
|
||||||
|
style:
|
||||||
|
find $(TARGET_DIRS) | grep '\.py$$' | xargs black
|
||||||
|
find $(TARGET_DIRS) | grep '\.py$$' | xargs isort
|
||||||
|
|
12
README.md
12
README.md
|
@ -100,19 +100,25 @@ You can set ``-n`` and other options.
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Make fancy updates
|
5. Make fancy updates
|
||||||
6. Run test again and check that no errors occur
|
6. Make style
|
||||||
|
|
||||||
|
```bash
|
||||||
|
poetry run make style
|
||||||
|
```
|
||||||
|
|
||||||
|
7. Run test again and check that no errors occur
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
poetry run make -j4
|
poetry run make -j4
|
||||||
```
|
```
|
||||||
|
|
||||||
7. Check typos by using [typos](https://github.com/crate-ci/typos). Just run ``typos`` command in the root directory.
|
8. Check typos by using [typos](https://github.com/crate-ci/typos). Just run ``typos`` command in the root directory.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
typos
|
typos
|
||||||
```
|
```
|
||||||
|
|
||||||
8. Send Pull requests!
|
9. Send Pull requests!
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue