mirror of https://github.com/Textualize/rich.git
rename make, update workflow and contributing
This commit is contained in:
parent
9e96a40aeb
commit
1617c28281
|
@ -23,7 +23,7 @@ jobs:
|
|||
poetry install
|
||||
- name: Format check with black
|
||||
run: |
|
||||
make format
|
||||
make format-check
|
||||
- name: Typecheck with mypy
|
||||
run: |
|
||||
make typecheck
|
||||
|
|
|
@ -45,4 +45,8 @@ Please add type annotations for all new code.
|
|||
|
||||
### Code Formatting
|
||||
|
||||
Rich uses `black` for code formatting. I recommend setting up black in your editor to format on save.
|
||||
Rich uses [`black`](https://github.com/psf/black) for code formatting.
|
||||
I recommend setting up black in your editor to format on save.
|
||||
|
||||
To run black from the command line, use `make format-check` to check your formatting,
|
||||
and use `make format` to format and write to the files.
|
Loading…
Reference in New Issue