Skip to content

Commit 7b52195

Browse files
committed
Merge remote-tracking branch 'origin' into codex/stata-mock-yaml
2 parents 2207545 + 1512dde commit 7b52195

6 files changed

Lines changed: 283 additions & 282 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
contents: read
2727

2828
steps:
29-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
29+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
3030
with:
3131
persist-credentials: false
32-
- uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
32+
- uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
3333
with:
3434
enable-cache: true
3535
- name: Install just
@@ -52,10 +52,10 @@ jobs:
5252
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
5353

5454
steps:
55-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
55+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
5656
with:
5757
persist-credentials: false
58-
- uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
58+
- uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
5959
with:
6060
enable-cache: true
6161
python-version: ${{ matrix.python-version }}

.github/workflows/publish-to-pypi.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
contents: read
1313

1414
steps:
15-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
15+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
1616
with:
1717
persist-credentials: false
1818
- name: Install uv
19-
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
19+
uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
2020
with:
2121
enable-cache: true
2222
python-version: "3.13"
@@ -47,7 +47,7 @@ jobs:
4747
name: python-package-distributions
4848
path: dist/
4949
- name: Install uv
50-
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
50+
uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
5151
- name: Publish distribution 📦 to PyPI
5252
run: uv publish
5353

@@ -70,7 +70,7 @@ jobs:
7070
name: python-package-distributions
7171
path: dist/
7272
- name: Sign the dists with Sigstore
73-
uses: sigstore/gh-action-sigstore-python@04cffa1d795717b140764e8b640de88853c92acc # v3.3.0
73+
uses: sigstore/gh-action-sigstore-python@5b79a39c381910c090341a2c9b0bf022c8b387e1 # v3.4.0
7474
with:
7575
inputs: >-
7676
./dist/*.tar.gz

.github/workflows/zizmor.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
security-events: write
2323

2424
steps:
25-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
25+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2626
with:
2727
persist-credentials: false
2828

29-
- uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
29+
- uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
3030
with:
3131
enable-cache: true
3232
python-version: '3.13'
@@ -43,6 +43,6 @@ jobs:
4343
always() &&
4444
(github.event_name != 'pull_request' ||
4545
github.event.pull_request.head.repo.full_name == github.repository)
46-
uses: github/codeql-action/upload-sarif@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4
46+
uses: github/codeql-action/upload-sarif@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4
4747
with:
4848
sarif_file: zizmor.sarif

.pre-commit-config.yaml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,13 @@ repos:
1818
- id: no-commit-to-branch
1919
args: [--branch, main]
2020
- id: trailing-whitespace
21-
- repo: https://github.com/pre-commit/pygrep-hooks
22-
rev: v1.10.0
23-
hooks:
24-
- id: python-check-blanket-noqa
25-
- id: python-check-mock-methods
26-
- id: python-no-eval
27-
- id: python-no-log-warn
28-
- id: python-use-type-annotations
29-
- id: text-unicode-replacement-char
3021
- repo: https://github.com/astral-sh/ruff-pre-commit
31-
rev: v0.15.16
22+
rev: v0.16.3
3223
hooks:
3324
- id: ruff-check
3425
- id: ruff-format
3526
- repo: https://github.com/astral-sh/uv-pre-commit
36-
rev: 0.11.19
27+
rev: 0.12.5
3728
hooks:
3829
- id: uv-lock
3930
- repo: https://github.com/executablebooks/mdformat
@@ -45,7 +36,7 @@ repos:
4536
- mdformat-black
4637
args: [--wrap, "88"]
4738
- repo: https://github.com/crate-ci/typos
48-
rev: v1
39+
rev: v1.49.0
4940
hooks:
5041
- id: typos
5142
- repo: meta

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["hatchling", "hatch_vcs"]
33
build-backend = "hatchling.build"
44

55
[project]
6-
name = "pytask_stata"
6+
name = "pytask-stata"
77
description = "Execute do-files with Stata and pytask."
88
authors = [{ name = "Tobias Raabe", email = "raabe@posteo.de" }]
99
license = { text = "MIT" }
@@ -73,6 +73,7 @@ select = ["ALL"]
7373
ignore = [
7474
"ANN401", # flake8-annotate typing.Any
7575
"COM812", # Comply with ruff-format.
76+
"CPY001", # Copyright notices are not required.
7677
"ISC001", # Comply with ruff-format.
7778
]
7879

0 commit comments

Comments
 (0)