Skip to content

Commit e85cc33

Browse files
authored
Merge pull request #96 from statisticsnorway/update_template
Update template 2025.7.18
2 parents a85f632 + cbb46b3 commit e85cc33

File tree

11 files changed

+784
-782
lines changed

11 files changed

+784
-782
lines changed

.cookiecutter.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"code_quality_level": "Medium",
1212
"copyright_owner": "Statistics Norway",
1313
"copyright_year": "2024",
14+
"department_number": "",
15+
"dependency_manager_tool": "poetry",
1416
"development_status": "Development Status :: 1 - Planning",
1517
"email": "ged@ssb.no",
1618
"friendly_name": "SSB Konjunk",

.cruft.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"template": "https://github.com/statisticsnorway/ssb-pypitemplate.git",
3-
"commit": "0d33fca0d1c29c79aef9c7053e36d9e7cdd2bd20",
4-
"checkout": "2025.2.19",
3+
"commit": "9e3c49f6680d4c400567c39d70b768f0a322c95e",
4+
"checkout": "2025.7.18",
55
"context": {
66
"cookiecutter": {
77
"project_name": "ssb-konjunk",
@@ -16,6 +16,8 @@
1616
"license": "MIT",
1717
"development_status": "Development Status :: 1 - Planning",
1818
"code_quality_level": "Medium",
19+
"dependency_manager_tool": "poetry",
20+
"department_number": "",
1921
"_copy_without_render": [
2022
"*.rst_t"
2123
],
@@ -24,7 +26,7 @@
2426
"trim_blocks": true
2527
},
2628
"_template": "https://github.com/statisticsnorway/ssb-pypitemplate.git",
27-
"_commit": "0d33fca0d1c29c79aef9c7053e36d9e7cdd2bd20"
29+
"_commit": "9e3c49f6680d4c400567c39d70b768f0a322c95e"
2830
}
2931
},
3032
"directory": null

.github/workflows/constraints.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
pip==25.0.1
2-
nox==2025.2.9
3-
nox-poetry==1.1.0
4-
poetry==2.1.1
5-
virtualenv==20.29.2
1+
nox==2025.5.1
2+
pip==25.1.1
3+
nox-poetry==1.2.0
4+
poetry==2.1.3

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
poetry --version
3636
3737
- name: Set up Python
38-
uses: actions/setup-python@v5.4.0
38+
uses: actions/setup-python@v5.6.0
3939
with:
4040
python-version: "3.12"
4141
cache: "poetry"

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ jobs:
2020
uses: actions/checkout@v4
2121

2222
- name: Run Labeler
23-
uses: crazy-max/ghaction-github-labeler@v5.2.0
23+
uses: crazy-max/ghaction-github-labeler@v5.3.0
2424
with:
2525
skip-delete: true

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fetch-depth: 2
2222

2323
- name: Set up Python
24-
uses: actions/setup-python@v5.4.0
24+
uses: actions/setup-python@v5.6.0
2525
with:
2626
python-version: "3.12"
2727

.github/workflows/tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
- master
88
pull_request:
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
tests:
1215
name: ${{ matrix.session }} ${{ matrix.python }} / ${{ matrix.os }}
@@ -39,7 +42,7 @@ jobs:
3942
uses: actions/checkout@v4
4043

4144
- name: Set up Python ${{ matrix.python }}
42-
uses: actions/setup-python@v5.4.0
45+
uses: actions/setup-python@v5.6.0
4346
with:
4447
python-version: ${{ matrix.python }}
4548

@@ -123,7 +126,7 @@ jobs:
123126
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
124127

125128
- name: Set up Python
126-
uses: actions/setup-python@v5.4.0
129+
uses: actions/setup-python@v5.6.0
127130
with:
128131
python-version: "3.11"
129132

@@ -170,4 +173,4 @@ jobs:
170173
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
171174
# No need to run SonarCloud analysis if dependabot update or token not defined
172175
if: env.SONAR_TOKEN != '' && (github.actor != 'dependabot[bot]')
173-
uses: SonarSource/sonarqube-scan-action@v5.0.0
176+
uses: SonarSource/sonarqube-scan-action@v5.2.0

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ celerybeat.pid
170170

171171
# Environments
172172
.env
173+
.envrc
173174
.venv
174175
env/
175176
venv/

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
[pypi status]: https://pypi.org/project/ssb-konjunk/
1919
[documentation]: https://statisticsnorway.github.io/ssb-konjunk
2020
[tests]: https://github.com/statisticsnorway/ssb-konjunk/actions?workflow=Tests
21-
2221
[sonarcov]: https://sonarcloud.io/summary/overall?id=statisticsnorway_ssb-konjunk
2322
[sonarquality]: https://sonarcloud.io/summary/overall?id=statisticsnorway_ssb-konjunk
2423
[pre-commit]: https://github.com/pre-commit/pre-commit

poetry.lock

Lines changed: 756 additions & 763 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)