Skip to content

Commit 01df857

Browse files
authored
docs(contributing): fix list numbering (#467)
The numbering in a list is off, as it is missing step 3. Updating list numbers accordingly.
1 parent dfeb5aa commit 01df857

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

CONTRIBUTING.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Create pull request
2525
# upstream git@github.com:equinor/pyscal (fetch)
2626
# upstream git@github.com:equinor/pyscal (push)
2727
28-
4. Install your forked copy into a local venv:
28+
3. Install your forked copy into a local venv:
2929

3030
.. code-block:: bash
3131
@@ -34,21 +34,21 @@ Create pull request
3434
pip install -U pip
3535
pip install -e ".[tests,docs]"
3636
37-
5. Run the tests to ensure everything works:
37+
4. Run the tests to ensure everything works:
3838

3939
.. code-block:: bash
4040
4141
pytest -n auto
4242
43-
6. Create a branch for local development:
43+
5. Create a branch for local development:
4444

4545
.. code-block:: bash
4646
4747
git checkout -b name-of-your-bugfix-or-feature
4848
4949
Now you can make your changes locally.
5050

51-
7. When you're done making changes, check that your changes pass ruff, mypy and the
51+
6. When you're done making changes, check that your changes pass ruff, mypy and the
5252
tests:
5353

5454
.. code-block:: bash
@@ -71,15 +71,15 @@ Only use deviations when e.g. ruff and pylint are in conflict, or if conformity
7171
pylint would clearly make the code worse or not work at all. Do not use it to
7272
increase pylint score.
7373

74-
8. Commit your changes and push your branch to GitHub:
74+
7. Commit your changes and push your branch to GitHub:
7575

7676
.. code-block:: bash
7777
7878
git add file1.py file2.py
7979
git commit -m "Add some feature"
8080
git push origin name-of-your-bugfix-or-feature
8181
82-
9. Submit a pull request through GitHub.
82+
8. Submit a pull request through GitHub.
8383

8484

8585
Building documentation

0 commit comments

Comments
 (0)