You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+7-10Lines changed: 7 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ If you want to contribute, you first need to fork the repo (and preferably creat
20
20
21
21
To start developing, you can install all the necessary packages in your python environment with this command (optional dependencies will be installed):
22
22
```shell
23
-
uv sync --group tests --group docs --group types
23
+
make install
24
24
```
25
25
26
26
When pushing commits, please use the project naming conventions, which are available in [this guide](https://www.conventionalcommits.org/en/v1.0.0/).
@@ -30,17 +30,14 @@ The documentation style used in the project is **ReStructuredText**. Please, if
30
30
31
31
Before creating your pull request, when you have made all your commits, you need to run this:
32
32
```shell
33
-
#Run linters (maybe you will have to fix some issues)
34
-
uvx ruff@0.15.12 check language_tool_python tests
33
+
#Format your code
34
+
make format
35
35
36
-
#Format code
37
-
uvx ruff@0.15.12 format language_tool_python tests
36
+
#Run linters, check code formatting and types (maybe you will have to fix some issues)
37
+
make check
38
38
39
-
# Check types
40
-
uvx mypy@2.0.0
41
-
42
-
# Tests
43
-
pytest
39
+
# Run tests (if you have added or modified some, make sure they are passing)
40
+
make test
44
41
```
45
42
46
43
Please do not manually bump the version number in [pyproject.toml](./pyproject.toml), this will be handled by the maintainers during release.
0 commit comments