Skip to content

Commit

Permalink
Bump cookiecutter template to 57e9b7 (#22)
Browse files Browse the repository at this point in the history
# Changes

- bumped cookiecutter template to
robert-koch-institut/mex-template@57e9b7

---------

Co-authored-by: Nicolas Drebenstedt <[email protected]>
  • Loading branch information
RKIMetadataExchange and cutoffthetop authored Jan 28, 2025
1 parent 3abe67b commit 5bf9cbb
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 16 deletions.
5 changes: 3 additions & 2 deletions .cruft.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"template": "https://github.com/robert-koch-institut/mex-template",
"commit": "a4f25ab84f9e485ad77eb03663a9cf486f7a5826",
"commit": "57e9b752fed460f5542bda226467210d0135f4fb",
"checkout": null,
"context": {
"cookiecutter": {
"project_name": "artificial",
"short_summary": "Create artificial data for the MEx project.",
"long_summary": "Create artificial extracted items, transform them into merged items and write the results into a configured sink.",
"_template": "https://github.com/robert-koch-institut/mex-template"
"_template": "https://github.com/robert-koch-institut/mex-template",
"_commit": "57e9b752fed460f5542bda226467210d0135f4fb"
}
},
"directory": null
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/cookiecutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ concurrency:
cancel-in-progress: true

env:
PIP_NO_OPTION: on
PDM_CHECK_UPDATE: False
PIP_DISABLE_PIP_VERSION_CHECK: on
PIP_NO_CLEAN: on
PIP_NO_INPUT: on
PIP_PREFER_BINARY: on

jobs:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ on:
workflow_dispatch:

env:
PIP_NO_OPTION: on
PDM_CHECK_UPDATE: False
PIP_DISABLE_PIP_VERSION_CHECK: on
PIP_NO_CLEAN: on
PIP_NO_INPUT: on
PIP_PREFER_BINARY: on

permissions:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ on:
workflow_dispatch:

env:
PIP_NO_OPTION: on
PDM_CHECK_UPDATE: False
PIP_DISABLE_PIP_VERSION_CHECK: on
PIP_NO_CLEAN: on
PIP_NO_INPUT: on
PIP_PREFER_BINARY: on

concurrency:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ on:
required: true

env:
PIP_NO_OPTION: on
PDM_CHECK_UPDATE: False
PIP_DISABLE_PIP_VERSION_CHECK: on
PIP_NO_CLEAN: on
PIP_NO_INPUT: on
PIP_PREFER_BINARY: on

permissions:
Expand Down Expand Up @@ -131,6 +133,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 1
ref: ${{ needs.release.outputs.tag }}

- name: Cache requirements
uses: actions/cache@v4
Expand All @@ -153,7 +156,6 @@ jobs:
- name: Build wheel and sdist distros and create a github release
env:
GH_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
PDM_CHECK_UPDATE: False
run: |
gh release create ${{ needs.release.outputs.tag }} --generate-notes --latest --verify-tag
pdm build --dest dist
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ on:
workflow_dispatch:

env:
PIP_NO_OPTION: on
PDM_CHECK_UPDATE: False
PIP_DISABLE_PIP_VERSION_CHECK: on
PIP_NO_CLEAN: on
PIP_NO_INPUT: on
PIP_PREFER_BINARY: on

concurrency:
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ default_language_version:
python: python3.11
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.3
rev: v0.9.1
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand All @@ -25,7 +25,7 @@ repos:
- id: fix-byte-order-marker
name: byte-order
- repo: https://github.com/pdm-project/pdm
rev: 2.22.0
rev: 2.22.2
hooks:
- id: pdm-lock-check
name: pdm
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ LABEL org.opencontainers.image.vendor="robert-koch-institut"
ENV PYTHONUNBUFFERED=1
ENV PYTHONOPTIMIZE=1

ENV PIP_PROGRESS_BAR=off
ENV PIP_PREFER_BINARY=on
ENV PIP_DISABLE_PIP_VERSION_CHECK=on
ENV PIP_NO_INPUT=on
ENV PIP_PREFER_BINARY=on
ENV PIP_PROGRESS_BAR=off

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024 Robert Koch-Institut
Copyright (c) 2025 Robert Koch-Institut

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ optional-dependencies.dev = [
"pytest-random-order>=1,<2",
"pytest-xdist>=3,<4",
"pytest>=8,<9",
"ruff>=0.8,<1",
"ruff>=0.9,<1",
"sphinx>=8,<9",
]

Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ cruft==2.16.0
mex-release==0.3.0
pdm==2.22.2
pre-commit==4.1.0
wheel==0.45.1

0 comments on commit 5bf9cbb

Please sign in to comment.