Skip to content

Commit 6f09912

Browse files
committed
update template
1 parent 2f548e7 commit 6f09912

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

.cruft.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/ecmwf-projects/cookiecutter-conda-package",
3-
"commit": "429e173a60bbf888e48d1987797aeac5ad840c47",
3+
"commit": "22b85d3aca63d05f4a19f1a531bcea311617f4cd",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {

.github/workflows/on-push.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,11 @@ jobs:
168168
distribution:
169169
runs-on: ubuntu-latest
170170
needs: [unit-tests, type-check, docs-build, integration-tests]
171+
environment:
172+
name: pypi
173+
url: https://pypi.org/p/ogc-api-processes-fastapi
174+
permissions:
175+
id-token: write # IMPORTANT: this permission is mandatory for trusted publish
171176
if: |
172177
always() &&
173178
needs.unit-tests.result == 'success' &&
@@ -192,6 +197,3 @@ jobs:
192197
- name: Publish a Python distribution to PyPI
193198
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
194199
uses: pypa/gh-action-pypi-publish@release/v1
195-
with:
196-
user: __token__
197-
password: ${{ secrets.PYPI_API_TOKEN }}

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.4.0
3+
rev: v4.5.0
44
hooks:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer
@@ -20,7 +20,7 @@ repos:
2020
- id: blackdoc
2121
additional_dependencies: [black==22.3.0]
2222
- repo: https://github.com/astral-sh/ruff-pre-commit
23-
rev: v0.0.290
23+
rev: v0.0.292
2424
hooks:
2525
- id: ruff
2626
args: [--fix, --show-fixes]
@@ -29,7 +29,7 @@ repos:
2929
hooks:
3030
- id: mdformat
3131
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
32-
rev: v2.10.0
32+
rev: v2.11.0
3333
hooks:
3434
- id: pretty-format-yaml
3535
args: [--autofix, --preserve-quotes]

ci/environment-ci.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@ dependencies:
1313
- pytest
1414
- pytest-cov
1515
- sphinx
16-
- pip:
17-
- sphinx-autoapi
16+
- sphinx-autoapi
1817
# DO NOT EDIT ABOVE THIS LINE, ADD DEPENDENCIES BELOW

0 commit comments

Comments
 (0)