-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
66 changed files
with
501 additions
and
544 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,10 +37,7 @@ on pre-commit hooks see our documentation][docs-pre-commit-hooks]. | |
|
||
### Git and GitHub | ||
|
||
We use Git to version control the source code. [Please read the GDS Way for details on | ||
Git best practice][gds-way-git]. This includes how to write good commit messages, use | ||
`git rebase` for local branches and `git merge --no-ff` for merges, as well as using | ||
`git push --force-with-lease` instead of `git push -f`. | ||
We use Git to version control the source code. [Please read the Quality assurance of code for analysis and research for details on Git best practice][duck-book-version-control]. This includes how to write good commit messages, how to branch correctly and solving merge conflicts. | ||
|
||
[If you want to modify the `.gitignore` files, see the template | ||
documentation][docs-updating-gitignore] for further details. | ||
|
@@ -65,12 +62,11 @@ enforced in all cases, for example with long hyperlinks. | |
## Testing | ||
|
||
[Tests are written using the `pytest` framework][pytest], with its configuration in the | ||
`pyproject.toml` file. Note, only tests in the `tests`, and | ||
`{{ cookiecutter.repo_name }}/tests` folders folder are run. To run the tests, enter | ||
`pyproject.toml` file. Note, only the `tests` folder in the root direcrtory of this project are to run. To run the tests, enter | ||
the following command in your terminal: | ||
|
||
```shell | ||
pytest | ||
pytest tests | ||
``` | ||
|
||
### Code coverage | ||
|
@@ -124,7 +120,7 @@ the `README.md` file in that folder. | |
[docs-write-sphinx-documentation]: https://github.com/best-practice-and-impact/govcookiecutter/blob/main/%7B%7B%20cookiecutter.repo_name%20%7D%7D/docs/contributor_guide/writing_sphinx_documentation.md | ||
[email]: mailto:[email protected] | ||
[gds-way]: https://gds-way.cloudapps.digital/ | ||
[gds-way-git]: https://gds-way.cloudapps.digital/standards/source-code.html | ||
[gds-way-git]: https://www.gov.uk/service-manual/technology/maintaining-version-control-in-coding | ||
[gds-way-python]: https://gds-way.cloudapps.digital/manuals/programming-languages/python/python.html#python-style-guide | ||
[govcookiecutter]: https://github.com/best-practice-and-impact/govcookiecutter | ||
[myst]: https://myst-parser.readthedocs.io/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
{ | ||
"_extensions": ["jinja2_time.TimeExtension"], | ||
|
||
"organisation_name": "Your public sector organisation name, for example Government Digital Service", | ||
"repository_hosting_platform": ["GitHub", "GitLab"], | ||
"organisation_handle": "Your GitHub/GitLab organisation name, for example ukgovdatascience", | ||
"contact_email": "[email protected]", | ||
"organisational_framework": ["GDS", "N/A"], | ||
|
||
"project_name": "Your new project name", | ||
"repo_name": "{{ cookiecutter.project_name.lower().replace(' ', '-') }}", | ||
"repo_name": "{{ cookiecutter.project_name.lower().replace(' ', '_').replace('-', '_') }}", | ||
"overview": "Brief overview of your project.", | ||
"project_version": "0.0.1", | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,7 +104,7 @@ We plan to fix the accessibility issues in the content by the end of December 20 | |
|
||
This statement was prepared on 30 June 2021. It was last reviewed on 20 July 2021. | ||
|
||
[abilitynet]: https://mcmw.abilitynet.org.uk/ | ||
[abilitynet]: https://abilitynet.org.uk/ | ||
[accessibility-legislation]: https://www.legislation.gov.uk/uksi/2018/952/regulation/4/made | ||
[eass]: https://www.equalityadvisoryservice.com/ | ||
[email]: mailto:[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
from pathlib import Path | ||
|
||
from sphinx.cmd.build import main | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.