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
9 changes: 3 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ jobs:
environment: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0

- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: 3.11

- name: install build dependencies
run: python3 -m pip install build

- name: build package
run: python3 -m build --sdist --wheel --outdir dist/

Expand All @@ -37,12 +37,9 @@ jobs:
with:
name: package
path: dist/

- name: publish package (pypi)
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: "https://pypi.org/legacy/"

- name: publish package (test.pypi)
if: ${{ github.event_name == 'workflow_dispatch' }}
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
repos:
- repo: https://github.com/myint/autoflake
rev: v2.3.0
rev: v2.3.1
hooks:
- id: autoflake
args: ["--in-place", "--imports=fillname", "--ignore-init-module-imports", "--remove-unused-variables"]
exclude: ^.github/

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v6.0.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
exclude: ^.github/

- repo: https://github.com/pycqa/isort
rev: 5.13.2
rev: 7.0.0
hooks:
- id: isort
exclude: ^.github/

- repo: https://github.com/psf/black
rev: 24.2.0
rev: 25.9.0
hooks:
- id: black
exclude: ^.github/

- repo: https://github.com/executablebooks/mdformat
rev: 0.7.17
rev: 1.0.0
hooks:
- id: mdformat
args: ["--wrap", "79"]
Expand Down