Skip to content

Commit

Permalink
Process feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Brugman <[email protected]>
  • Loading branch information
sbrugman committed Dec 18, 2023
1 parent ce96c98 commit 7927c9c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/source/development/linting.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ There are a variety of Python tools available to use with your Kedro projects. T
**`ruff`** is a fast linter and formatter that replaces `flake8`, `pylint`, `pyupgrade`, `isort`, `black` and [more](https://beta.ruff.rs/docs/rules/).
- It helps to make your code compliant to [PEP 8](https://peps.python.org/pep-0008/).
- It reformats code and sorts imports alphabetically and automatically separating them into sections by

Check warning on line 17 in docs/source/development/linting.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [Kedro.Spellings] Did you really mean 'reformats'? Raw Output: {"message": "[Kedro.Spellings] Did you really mean 'reformats'?", "location": {"path": "docs/source/development/linting.md", "range": {"start": {"line": 17, "column": 8}}}, "severity": "WARNING"}
type. You can read more in the [`black` documentation](https://black.readthedocs.io/en/stable/).
and the [`isort` documentation](https://pycqa.github.io/isort/).
type.

### Install the tools
Install `ruff` by adding the following lines to your project's `requirements.txt`
Expand Down Expand Up @@ -106,7 +105,7 @@ repos:
- id: ruff-format
```
The latest configuration for `ruff`'s pre-commit is available [here](https://github.com/astral-sh/ruff-pre-commit).
See GitHub for [the latest configuration for ruff's pre-commit](https://github.com/astral-sh/ruff-pre-commit).
### Install git hook scripts
Expand Down

0 comments on commit 7927c9c

Please sign in to comment.