Skip to content

Commit 7743b1f

Browse files
committed
fix deploy.yml. autoupdate pre-commit.
1 parent a458e72 commit 7743b1f

2 files changed

Lines changed: 9 additions & 11 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
push:
66
tags:
7-
- 'v[0-9]+.[0-9]+.[0-9]+'
7+
- "v[0-9]+.[0-9]+.[0-9]+"
88

99
jobs:
1010
test:
@@ -18,17 +18,17 @@ jobs:
1818
environment: release
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v5
2222
with:
2323
fetch-depth: 0
2424

25-
- uses: actions/setup-python@v5
25+
- uses: actions/setup-python@v6
2626
with:
2727
python-version: 3.11
2828

2929
- name: install build dependencies
3030
run: python3 -m pip install build
31-
31+
3232
- name: build package
3333
run: python3 -m build --sdist --wheel --outdir dist/
3434

@@ -41,8 +41,6 @@ jobs:
4141
- name: publish package (pypi)
4242
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}
4343
uses: pypa/gh-action-pypi-publish@release/v1
44-
with:
45-
repository-url: "https://pypi.org/legacy/"
4644

4745
- name: publish package (test.pypi)
4846
if: ${{ github.event_name == 'workflow_dispatch' }}

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
repos:
22
- repo: https://github.com/myint/autoflake
3-
rev: v2.3.0
3+
rev: v2.3.1
44
hooks:
55
- id: autoflake
66
args: ["--in-place", "--imports=fillname", "--ignore-init-module-imports", "--remove-unused-variables"]
77
exclude: ^.github/
88

99
- repo: https://github.com/pre-commit/pre-commit-hooks
10-
rev: v4.5.0
10+
rev: v6.0.0
1111
hooks:
1212
- id: end-of-file-fixer
1313
- id: trailing-whitespace
1414
exclude: ^.github/
1515

1616
- repo: https://github.com/pycqa/isort
17-
rev: 5.13.2
17+
rev: 7.0.0
1818
hooks:
1919
- id: isort
2020
exclude: ^.github/
2121

2222
- repo: https://github.com/psf/black
23-
rev: 24.2.0
23+
rev: 25.9.0
2424
hooks:
2525
- id: black
2626
exclude: ^.github/
2727

2828
- repo: https://github.com/executablebooks/mdformat
29-
rev: 0.7.17
29+
rev: 1.0.0
3030
hooks:
3131
- id: mdformat
3232
args: ["--wrap", "79"]

0 commit comments

Comments
 (0)