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
* add extra info for sub-menus [#628](https://github.com/NLeSC/python-template/pull/628)
@@ -33,6 +36,7 @@
33
36
* CHANGELOG.md is now optional ([#462](https://github.com/NLeSC/python-template/issues/462))
34
37
35
38
### Removed
39
+
36
40
* Remove the configuration of isort ([#591](https://github.com/NLeSC/python-template/pull/591)), which is no longer used since [#347](https://github.com/NLeSC/python-template/issues/347).
37
41
38
42
## [0.5.0]
@@ -150,7 +154,6 @@ Released on Apr 22, 2021
150
154
* Drop Python 3.5 support
151
155
* Removed unit tests doing the linting
152
156
153
-
154
157
## [0.2.0]
155
158
156
159
Released on July 17, 2019
@@ -176,14 +179,14 @@ Released on July 17, 2019
176
179
* Fix example tests that failed to run (#28)
177
180
* Remove quotes from project name and project description (#27)
178
181
* Update prospector configuration (#26)
179
-
- Make prospector less strict
180
-
- Have prospector ignore the docs directory
182
+
* Make prospector less strict
183
+
* Have prospector ignore the docs directory
181
184
* Add `install_requires` to `setup.py` (#21)
182
185
* Improved .gitignore (#22)
183
186
* More detailed documentation about
184
-
- Project setup
185
-
- Setup instructions
186
-
- NOTICE file
187
+
* Project setup
188
+
* Setup instructions
189
+
* NOTICE file
187
190
188
191
### Removed
189
192
@@ -196,20 +199,19 @@ Released on July 12, 2018.
196
199
### Added
197
200
198
201
* First version of the Python project template that follows the Netherlands eScience Center software development guide, containing:
# validator: "{% if something != 'AnotherThing' %}BlaBla{% endif %}"
17
20
GitHub Actions (selection on the next menu):
18
21
value: SelectGitHubActions_flag
19
22
# validator: "{% if something != 'AnotherThing' %}BlaBla{% endif %}"
@@ -53,6 +56,10 @@ SelectGitHubActions:
53
56
54
57
55
58
# computed features
59
+
AddLocalTests:
60
+
type: bool
61
+
default: "{{ 'AddLocalTests_flag' in SelectCodeQualityFeatures or 'AddGitHubActionBuild_flag' in SelectGitHubActions or 'AddSonarCloud_flag' in SelectCodeQualityFeatures }}"
62
+
when: false
56
63
AddGitHubActionBuild:
57
64
type: bool
58
65
default: "{{ 'AddGitHubActionBuild_flag' in SelectGitHubActions }}"
Copy file name to clipboardExpand all lines: template/project_setup.md.jinja
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,7 @@ You can distribute your code using PyPI.
35
35
[The guide](https://guide.esciencecenter.nl/#/best_practices/language_guides/python?id=building-and-packaging-code) can
36
36
help you decide which tool to use for packaging.
37
37
38
+
{%ifAddLocalTests -%}
38
39
## Testing and code coverage
39
40
40
41
- Tests should be put in the `tests` folder.
@@ -47,6 +48,7 @@ help you decide which tool to use for packaging.
47
48
- The project uses [GitHub action workflows](https://docs.github.com/en/actions) to automatically run tests on GitHub infrastructure against multiple Python versions
48
49
- Workflows can be found in [`.github/workflows`](.github/workflows/)
49
50
- [Relevant section in the guide](https://guide.esciencecenter.nl/#/best_practices/language_guides/python?id=testing)
0 commit comments