@@ -4,17 +4,25 @@ Contributing
44Contributing to the skeleton repository is different to other repos. There
55are two sorts of contributions:
66
7- - Changes to the skeleton structure should be made on a branch, then a
8- PR _ raised back to the ``skeleton `` branch.
9- - Changes to the docs or commandline tool should be made directly on main
10-
7+ - Changes to the skeleton structure should be made on a branch
8+ of the skeleton-repo _ with a PR
9+ raised back to the ``main `` branch from here: PR _.
10+ - Changes to the docs or commandline tool should be made on a branch in
11+ the cli-repo _ with with a PR raised back to the ``main `` branch
12+ here: PR2 _
13+
14+ .. _skeleton-repo : https://github.com/epics-containers/python3-pip-skeleton
15+ .. _cli-repo : https://github.com/epics-containers/python3-pip-skeleton-cli
1116.. _PR : https://github.com/epics-containers/python3-pip-skeleton/pulls
12- .. _GitHub : https://github.com/epics-containers/python3-pip-skeleton/issues
17+ .. _PR2 : https://github.com/epics-containers/python3-pip-skeleton-cli/pulls
18+
19+ Apart from this, ``main `` branch in both repos should always be deployable,
20+ and are considered the latest release.
1321
1422Running the tests
1523-----------------
1624
17- Both the ``skeleton `` and ``main `` branch have different tests, but
25+ Both the ``skeleton `` and ``main `` repos have different tests, but
1826the process to run them is the same. You can run in a container using the
1927supplied devcontainer or you can run them locally.
2028
@@ -43,38 +51,6 @@ on your workstation as follows::
4351 $ pip install -e .[dev]
4452 $ tox -p
4553
46- In both cases tox -p runs in parallel the following checks:
47-
48- - Build Spinx Documentation
49- - run pytest on all tests in ./tests
50- - run mypy linting on all files in ./src ./tests
51- - run pre-commit checks:
52-
53- - run flake8 style checks against all source
54- - run black formatting checks against all source
55-
56- Use vscode devcontainer as follows::
57-
58- $ git clone git://github.com/epics-containers/python3-pip-skeleton.git
59- $ vscode python3-pip-skeleton
60- Click on 'Reopen in Container' when prompted
61- In a vscode Terminal:
62- $ tox -p
63-
64-
65- To run locally
66- ~~~~~~~~~~~~~~
67-
68- Get the source source code and run the unit tests directly
69- on your workstation as follows::
70-
71- $ git clone git://github.com/epics-containers/python3-pip-skeleton.git
72- $ cd python3-pip-skeleton
73- $ virtualenv .venv
74- $ s
75- $ pip install -e .[dev]
76- $ tox -p
77-
7854Checks
7955~~~~~~
8056
@@ -88,8 +64,6 @@ In both cases tox -p runs in parallel the following checks.
8864 - run flake8 style checks against all source
8965 - run black formatting checks against all source
9066
91- Please note that Pipfile.lock is only committed on ``main ``, not on
92- ``skeleton ``
9367
9468Code Styling
9569------------
@@ -182,13 +156,5 @@ To see a graph of the python package dependency tree type::
182156
183157 pipdeptree
184158
185- Apart from this, ``main `` and ``skeleton `` should always be deployable,
186- and are considered the latest release.
187-
188- Checking Dependencies
189- ---------------------
190159
191- To see a graph of the python package dependency tree type::
192-
193- pipdeptree
194160
0 commit comments