diff --git a/Makefile b/Makefile index 1876363..4c321be 100644 --- a/Makefile +++ b/Makefile @@ -35,3 +35,7 @@ markdownlint: lint_node: markdownlint pyright + +style: + find $(TARGET_DIRS) | grep '\.py$$' | xargs black + find $(TARGET_DIRS) | grep '\.py$$' | xargs isort diff --git a/README.md b/README.md index c01a7b4..28d33a0 100644 --- a/README.md +++ b/README.md @@ -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