33??? Note
44 Did you find this article confusing? [ Edit this file] and pull a request!
55
6- To start with, you will need [ GitHub] , [ Pypi] , [ TestPyPi] and [ Codecov] account. If
7- you don't have one, please follow the links to apply one before you get started on this
8- tutorial.
6+ To start with, you will need [ GitHub] , [ Pypi] , [ TestPyPi] and [ Codecov] account. If
7+ you don't have one, please follow the links to apply one before you get started on this
8+ tutorial.
99
1010If you are new to Git and GitHub, you should probably spend a few minutes on
1111some of the tutorials at the top of the page at [ GitHub Help]
@@ -81,10 +81,10 @@ Also be noticed that there's pyproject.toml in this folder. This is the main
8181configuration file of our project.
8282
8383## Step 3: Build a virtual environment for your development
84- Now build a virtual python environment for your development, and develop your project
84+ Now build a virtual python environment for your development, and develop your project
8585always in that environment from now on.
8686
87- You can choose either annaconda or virtualenv. I prefer annaconda (actually miniconda)
87+ You can choose either annaconda or virtualenv. I prefer annaconda (actually miniconda)
8888though.
8989
9090```
@@ -93,7 +93,7 @@ conda activate mypackage
9393conda install -c conda-forge tox-conda
9494```
9595
96- You could choose your favorite python version here.
96+ You could choose your favorite python version here.
9797## Step 4: Install Dev Requirements
9898
9999You should still be in the folder named as ` %proejct_slug ` , which containing the
@@ -109,16 +109,16 @@ tox
109109```
110110
111111We start with install poetry, since the whole project is managed by poetry. Then we
112- installed extra dependency need by developer, such as documentation build tools, lint,
112+ installed extra dependency need by developer, such as documentation build tools, lint,
113113formatting and test tools etc.
114114
115115We also launch a smoke test here by running ` tox ` . This will give you a test report and
116116 lint report. You should see no errors except some lint warnings.
117117
118118??? Tips
119119
120- Extra dependencies are grouped into three groups, doc, dev and test for better
121- granularity. When you ship the package, dependencies in group doc, dev and test
120+ Extra dependencies are grouped into three groups, doc, dev and test for better
121+ granularity. When you ship the package, dependencies in group doc, dev and test
122122 might not be shipped.
123123
124124 As the developer, you will need install all the dependencies.
@@ -151,7 +151,7 @@ Then goto repo > settings > secrets, click on 'New repository secret', add the f
151151
152152???+ Tips
153153
154- If you have already setup codecov integration and configured access for all your
154+ If you have already setup codecov integration and configured access for all your
155155 repositories, you can skip this step.
156156
157157In your browser, visit [ install codecov app] , you'll be landed at this page:
@@ -163,7 +163,7 @@ on `install` button, following directions until all set.
163163
164164## Step 7: Upload code to github
165165
166- Back to your develop environment, find the folder named after the ` [project_slug] ` .
166+ Back to your develop environment, find the folder named after the ` [project_slug] ` .
167167Move into this folder, and then setup git to use your GitHub repo and upload the
168168code:
169169
@@ -185,7 +185,7 @@ You'll need a ssh key to push the repo. You can [Generate] a key or
185185
186186???+ Warning
187187
188- if you answered 'yes' to the question if install pre-commit hooks at last step,
188+ if you answered 'yes' to the question if install pre-commit hooks at last step,
189189 then you should find pre-commit be invoked when you run `git commit`, and some files
190190 may be modified by hooks. If so, please add these files and **commit again**.
191191
@@ -201,7 +201,7 @@ new artifact is published under the name {{ cookiecutter.project_slug }}
201201
202202## Step 8. Check documentation
203203
204- Documentation will be published and available at
204+ Documentation will be published and available at
205205 < https://{your_github_account}.github.io/{your_repo} > once:
206206
207207 1. the branch is release
@@ -218,7 +218,7 @@ new artifact is published under the name {{ cookiecutter.project_slug }}
218218
219219## Step 9. Make official release
220220
221- After done with your phased development, switch to releas branch, following
221+ After done with your phased development, switch to releas branch, following
222222 instructions at [ release checklist] ( /pypi_release_checklist ) , trigger first official release and check
223223 result at [ PYPI] .
224224
0 commit comments