You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- PyTest can be installed with `pip3 install --editable .[dev]`
63
+
- PyTest is listed as a development dependency, and can thus be installed with `pip3 install --editable .[dev]`
62
64
- Tests can be run with `pytest`
63
65
- This is configured in `setup.cfg`
64
-
-Use [GitHub action workflow](https://docs.github.com/en/actions) to automatically run tests on GitHub infrastructure against multiple Python versions
65
-
-Workflow can be found in [`.github/workflows/build.yml`](.github/workflows/build.yml)
66
+
-The project uses [GitHub action workflows](https://docs.github.com/en/actions) to automatically run tests on GitHub infrastructure against multiple Python versions
67
+
-Workflows can be found in [`.github/workflows`](.github/workflows/)
66
68
-[Relevant section in the guide](https://guide.esciencecenter.nl/#/best_practices/language_guides/python?id=testing)
67
69
68
70
## Documentation
69
71
70
-
- Documentation should be put in the `docs` folder. The contents have been generated using `sphinx-quickstart` (Sphinx version 1.6.5).
72
+
- Documentation should be put in the [`docs/`](docs/) directory. The contents have been generated using `sphinx-quickstart` (Sphinx version 1.6.5).
71
73
- We recommend writing the documentation using Restructured Text (reST) and Google style docstrings.
72
74
-[Restructured Text (reST) and Sphinx CheatSheet](http://openalea.gforge.inria.fr/doc/openalea/doc/_build/html/source/sphinx/rest_syntax.html)
- The documentation is set up with the Read the Docs Sphinx Theme.
75
-
- Check out the [configuration options](https://sphinx-rtd-theme.readthedocs.io/en/latest/).
76
-
- To generate html documentation run `python setup.py build_sphinx`
77
-
- This is configured in `setup.cfg`
78
-
- Alternatively, run `make html` in the `docs` folder.
79
-
- The `docs/_templates` directory contains an (empty) `.gitignore` file, to be able to add it to the repository. This
80
-
file can be safely removed (or you can just leave it there).
76
+
- The documentation is set up with the ReadTheDocs Sphinx theme.
77
+
- Check out its [configuration options](https://sphinx-rtd-theme.readthedocs.io/en/latest/).
78
+
- To generate HTML documentation, run `make html` in the `docs/` folder.
81
79
- To put the documentation on [ReadTheDocs](https://readthedocs.org), log in to your ReadTheDocs account, and import
82
80
the repository (under 'My Projects').
83
81
- Include the link to the documentation in your project's [README.md](README.md).
@@ -93,11 +91,11 @@ help you decide which tool to use for packaging.
93
91
## Continuous code quality
94
92
95
93
-[Sonarcloud](https://sonarcloud.io/) is used to perform quality analysis and code coverage report on each push
96
-
-The GitHub organization and repository must be added Sonarcloud for analysis to work
94
+
-Sonarcloud must be configured for the analysis to work
97
95
1. go to [Sonarcloud](https://sonarcloud.io/projects/create)
98
96
2. login with your GitHub account
99
-
3. add organization or reuse existing
100
-
4.setup repository
97
+
3. add organization or reuse existing one
98
+
4.set up repository
101
99
5. go to [new code definition administration page](https://sonarcloud.io/project/new_code?id={{ cookiecutter.github_organization }}_{{ cookiecutter.project_name }}) and select `Number of days` option
102
100
- The analysis will be run by [GitHub Action workflow](.github/workflows/quality.yml)
103
101
- To be able to run the analysis, a token must be created at [Sonarcloud account](https://sonarcloud.io/account/security/) and this token must be added as `SONAR_TOKEN` to [secrets on GitHub](https://github.com/{{ cookiecutter.github_organization }}/{{ cookiecutter.project_name }}/settings/secrets/actions)
@@ -134,7 +132,7 @@ save it as a secret called `PYPI_TOKEN` on [Settings page]({{cookiecutter.reposi
134
132
- It only makes sense to do this once there is something to cite (e.g., a software release with a DOI).
135
133
- Follow the [making software citable](https://guide.esciencecenter.nl/#/citable_software/making_software_citable) section in the guide.
136
134
137
-
## CODE\_OF\_CONDUCT.md
135
+
## CODE_OF_CONDUCT.md
138
136
139
137
- Information about how to behave professionally
140
138
-[Relevant section in the guide](https://guide.esciencecenter.nl/#/best_practices/documentation?id=code-of-conduct)
0 commit comments