Skip to content

Commit 338833f

Browse files
authored
Update README.md
1 parent 650bcfc commit 338833f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Diff for: README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,15 @@ Currently, the NVS benchmakr is included in the reconstruction benchmark script,
3838
Please refer to Angular's guide for contributing(https://github.com/angular/angular/blob/22b96b96902e1a42ee8c5e807720424abad3082a/CONTRIBUTING.md).
3939

4040
### Formatting
41-
We use [Ruff](https://github.com/astral-sh/ruff) as the formatter and linter for Python, and Clang for C++. Installing the `pre-commit` will format and lint your code before you commit:
41+
We use [Ruff](https://github.com/astral-sh/ruff) as the formatter and linter for Python, and Clang for C++.
4242

43+
Installing the [`pre-commit`](https://pre-commit.com/) will format and lint your code before you commit:
4344
```bash
4445
$ pip install pre-commit
4546
$ pre-commit install
4647
```
48+
You can also run Ruff manually:
49+
```bash
50+
$ ruff check --fix --config pyproject.toml
51+
$ ruff format --config pyproject.toml
52+
```

0 commit comments

Comments
 (0)