doc: add code convention requirements

JIRA: COMPOSE-4108
Signed-off-by: Haibo Lin <hlin@redhat.com>
This commit is contained in:
Haibo Lin 2020-02-07 17:00:39 +08:00
parent 9b12be7300
commit 3a31d47c83

View File

@ -99,6 +99,8 @@ Currently the development workflow for Pungi is on master branch:
git checkout my_topic_branch
# make changes to setup.py
black setup.py
tox
git add setup.py
git commit -s -m "added awesome feature to setup.py"
@ -115,8 +117,11 @@ Currently the development workflow for Pungi is on master branch:
git push origin my_topic_branch
.. note::
In order to for your commit to be merged, you must sign-off on it. Use
``-s`` option when running ``git commit``.
In order to for your commit to be merged:
- you must sign-off on it. Use ``-s`` option when running ``git commit``.
- The code must be well formatted via ``black`` and pass ``flake8`` checking. Run ``tox`` to do the check.
- Create pull request in the pagure.io web UI