Skip to content

Commit 37cb612

Browse files
agattidpgeorge
authored andcommitted
CONTRIBUTING: Remove references to black.
This commit updates the contribution guidelines, removing references to the `black` formatting tool since `ruff` is used to do both linting and formatting these days. Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
1 parent 5d03449 commit 37cb612

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

CONTRIBUTING.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,14 @@ or packages from micropython-lib, please post at the
2727
The same rules for commit messages, signing-off commits, and commit structure
2828
apply [as for the main MicroPython repository](https://github.com/micropython/micropython/blob/master/CODECONVENTIONS.md).
2929

30-
All Python code is formatted using the [black](https://github.com/psf/black)
30+
All Python code is formatted using the [ruff](https://github.com/astral-sh/ruff)
3131
tool. You can run [`tools/codeformat.py`](tools/codeformat.py) to apply
32-
`black` automatically before submitting a PR. The GitHub CI will also run the
33-
[ruff](https://github.com/astral-sh/ruff) tool to apply further "linting"
34-
checks.
32+
`ruff` automatically before submitting a PR. The GitHub CI will also use `ruff`
33+
to apply further "linting" checks.
3534

3635
Similar to the main repository, a configuration is provided for the
37-
[pre-commit](https://pre-commit.com/) tool to apply `black` code formatting
38-
rules and run `ruff` automatically. See the documentation for using pre-commit
36+
[pre-commit](https://pre-commit.com/) tool to apply `ruff` code formatting
37+
rules and apply linting checks. See the documentation for using pre-commit
3938
in [the code conventions document](https://github.com/micropython/micropython/blob/master/CODECONVENTIONS.md#automatic-pre-commit-hooks)
4039

4140
In addition to the conventions from the main repository, there are some

0 commit comments

Comments
 (0)