Add make style (Resolve #42)

This commit is contained in:
Yuta Hayashibe 2022-10-21 22:08:43 +09:00
parent 2dd2c6c036
commit 98060c4ca0
2 changed files with 13 additions and 3 deletions

View file

@ -35,3 +35,7 @@ markdownlint:
lint_node: markdownlint pyright
style:
find $(TARGET_DIRS) | grep '\.py$$' | xargs black
find $(TARGET_DIRS) | grep '\.py$$' | xargs isort

View file

@ -100,19 +100,25 @@ You can set ``-n`` and other options.
```
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
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
typos
```
8. Send Pull requests!
9. Send Pull requests!
## License