doc: add code convention requirements
JIRA: COMPOSE-4108 Signed-off-by: Haibo Lin <hlin@redhat.com>
This commit is contained in:
parent
9b12be7300
commit
3a31d47c83
@ -99,6 +99,8 @@ Currently the development workflow for Pungi is on master branch:
|
|||||||
git checkout my_topic_branch
|
git checkout my_topic_branch
|
||||||
|
|
||||||
# make changes to setup.py
|
# make changes to setup.py
|
||||||
|
black setup.py
|
||||||
|
tox
|
||||||
git add setup.py
|
git add setup.py
|
||||||
git commit -s -m "added awesome feature to 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
|
git push origin my_topic_branch
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
In order to for your commit to be merged, you must sign-off on it. Use
|
In order to for your commit to be merged:
|
||||||
``-s`` option when running ``git commit``.
|
|
||||||
|
- 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
|
- Create pull request in the pagure.io web UI
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user