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
5. Add and make changes to your app's code as needed, committing each self-contained change to git
44
44
45
-
.. code-block:: shell
46
-
git add changed-file.py another-changed-file.py
47
-
git commit
48
-
... repeat ...
45
+
.. code-block:: shell
46
+
git add changed-file.py another-changed-file.py
47
+
git commit
48
+
... repeat ...
49
49
50
-
Push your commits frequently so your work is backed up on your git provider (e.g. GitHub)
50
+
Push your commits frequently so your work is backed up on your git provider (e.g. GitHub)
51
51
52
-
.. code-block:: shell
53
-
git push
52
+
.. code-block:: shell
53
+
git push
54
54
55
55
6. Write any new tests you need to verify your code works and update any old tests as needed
56
56
57
57
7. Run the tests locally using e.g. ``pytest`` or ``python -m unittest``
58
58
59
59
8. Update the semantic version of your app. If you're using ``poetry``, run:
60
60
61
-
- ``poetry version patch`` for a bug fix or small non-code change
62
-
- ``poetry version minor`` for a new feature
63
-
- ``poetry version major`` for a breaking change
61
+
- ``poetry version patch`` for a bug fix or small non-code change
62
+
- ``poetry version minor`` for a new feature
63
+
- ``poetry version major`` for a breaking change
64
64
65
-
If you're using ``pip`` , manually update the version in ``setup.py`` or ``pyproject.toml``
66
-
67
-
Don't forget to commit this change, too.
65
+
If you're using ``pip``, manually update the version in ``setup.py`` or ``pyproject.toml``. Don't forget to commit this change, too.
68
66
69
67
9. When you're ready to review the changes, head to GitHub and open a pull request of your branch into ``main``. Check the diff to make sure everything's there and consistent (it's easy to forget to push everything). Ask your colleagues to review the code if required.
0 commit comments