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: python/{{cookiecutter.project_slug}}/docs/source/contributing.rst
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,21 +22,22 @@ Then initialize a virtual environment: ::
22
22
source venv/bin/activate
23
23
python3 -m pip install -e '.[dev,tests,docs]'
24
24
25
-
We use `pre-commit<https://pre-commit.com/#usage>`_ to run conformance tests before commits. This provides checks for:
25
+
We use `prek<https://prek.j178.dev/>`_ to run conformance tests before commits. This provides checks for:
26
26
27
27
* Code format and style
28
28
* Added large files
29
29
* AWS credentials
30
30
* Private keys
31
+
* Other formatting things
31
32
32
33
Before your first commit, run: ::
33
34
34
-
pre-commit install
35
+
prek install
35
36
36
37
Style
37
38
-----
38
39
39
-
Code style is managed by `Ruff <https://github.com/astral-sh/ruff>`_, and should be checked via pre-commit hook before commits. Final QC is applied with GitHub Actions to every pull request.
40
+
Code style is managed by `Ruff <https://github.com/astral-sh/ruff>`_, and should be checked via ``prek`` hook before commits. Final QC is applied with GitHub Actions to every pull request.
0 commit comments