Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
"code_quality_level": "Medium",
"copyright_owner": "Statistics Norway",
"copyright_year": "2024",
"department_number": "",
"dependency_manager_tool": "poetry",
"development_status": "Development Status :: 1 - Planning",
"email": "ged@ssb.no",
"friendly_name": "SSB Konjunk",
Expand Down
8 changes: 5 additions & 3 deletions .cruft.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"template": "https://github.com/statisticsnorway/ssb-pypitemplate.git",
"commit": "0d33fca0d1c29c79aef9c7053e36d9e7cdd2bd20",
"checkout": "2025.2.19",
"commit": "9e3c49f6680d4c400567c39d70b768f0a322c95e",
"checkout": "2025.7.18",
"context": {
"cookiecutter": {
"project_name": "ssb-konjunk",
Expand All @@ -16,6 +16,8 @@
"license": "MIT",
"development_status": "Development Status :: 1 - Planning",
"code_quality_level": "Medium",
"dependency_manager_tool": "poetry",
"department_number": "",
"_copy_without_render": [
"*.rst_t"
],
Expand All @@ -24,7 +26,7 @@
"trim_blocks": true
},
"_template": "https://github.com/statisticsnorway/ssb-pypitemplate.git",
"_commit": "0d33fca0d1c29c79aef9c7053e36d9e7cdd2bd20"
"_commit": "9e3c49f6680d4c400567c39d70b768f0a322c95e"
}
},
"directory": null
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pip==25.0.1
nox==2025.2.9
nox-poetry==1.1.0
poetry==2.1.1
virtualenv==20.29.2
nox==2025.5.1
pip==25.1.1
nox-poetry==1.2.0
poetry==2.1.3
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
poetry --version

- name: Set up Python
uses: actions/setup-python@v5.4.0
uses: actions/setup-python@v5.6.0
with:
python-version: "3.12"
cache: "poetry"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
uses: actions/checkout@v4

- name: Run Labeler
uses: crazy-max/ghaction-github-labeler@v5.2.0
uses: crazy-max/ghaction-github-labeler@v5.3.0
with:
skip-delete: true
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fetch-depth: 2

- name: Set up Python
uses: actions/setup-python@v5.4.0
uses: actions/setup-python@v5.6.0
with:
python-version: "3.12"

Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- master
pull_request:

permissions:
contents: read

jobs:
tests:
name: ${{ matrix.session }} ${{ matrix.python }} / ${{ matrix.os }}
Expand Down Expand Up @@ -39,7 +42,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v5.4.0
uses: actions/setup-python@v5.6.0
with:
python-version: ${{ matrix.python }}

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

- name: Set up Python
uses: actions/setup-python@v5.4.0
uses: actions/setup-python@v5.6.0
with:
python-version: "3.11"

Expand Down Expand Up @@ -170,4 +173,4 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# No need to run SonarCloud analysis if dependabot update or token not defined
if: env.SONAR_TOKEN != '' && (github.actor != 'dependabot[bot]')
uses: SonarSource/sonarqube-scan-action@v5.0.0
uses: SonarSource/sonarqube-scan-action@v5.2.0
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ celerybeat.pid

# Environments
.env
.envrc
.venv
env/
venv/
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
[pypi status]: https://pypi.org/project/ssb-konjunk/
[documentation]: https://statisticsnorway.github.io/ssb-konjunk
[tests]: https://github.com/statisticsnorway/ssb-konjunk/actions?workflow=Tests

[sonarcov]: https://sonarcloud.io/summary/overall?id=statisticsnorway_ssb-konjunk
[sonarquality]: https://sonarcloud.io/summary/overall?id=statisticsnorway_ssb-konjunk
[pre-commit]: https://github.com/pre-commit/pre-commit
Expand Down
1,519 changes: 756 additions & 763 deletions poetry.lock

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[tool.poetry]
name = "ssb-konjunk"
version = "0.1.22"
description = "SSB Konjunk"
authors = ["Edvard Garmannslund <ged@ssb.no>"]
version = "1.0.0"
description = "SSB Konjunk 422"
authors = ["Johanne Saxegaard <jox@ssb.no>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/statisticsnorway/ssb-konjunk"
Expand Down Expand Up @@ -60,6 +60,9 @@ relative_files = true
show_missing = true
fail_under = 50

[tool.deptry.per_rule_ignores]
DEP001 = ["nox", "nox_poetry"] # packages available by default

[tool.mypy]
strict = true
warn_unreachable = true
Expand Down Expand Up @@ -96,7 +99,7 @@ select = [
"RUF", # the ruff developer's own rules
]
ignore = [
"ANN202", # Don't requiere return type annotation for private functions.
"ANN202", # Don't require return type annotation for private functions.
"ANN401", # Allow type annotation with type Any.
"D100", # Supress undocumented-public-module. Only doc of public api required.
"FBT001", # Allow boolean positional arguments in a function.
Expand Down
Loading