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
19 changes: 8 additions & 11 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Run 'pre-commit'
uses: dycw/action-pre-commit@latest
- if: github.event_name == 'pull_request'
name: Run 'pre-commit' hooks
uses: dycw/action-run-hooks@latest
with:
token-checkout: ${{github.token}}
token-uv: ${{github.token}}
token: ${{github.token}}
repos: |-
dycw/conformalize
dycw/actions
pre-commit/pre-commit-hooks
sleep: 1
pyright:
Expand All @@ -24,8 +24,7 @@ jobs:
- name: Run 'pyright'
uses: dycw/action-pyright@latest
with:
token-checkout: ${{github.token}}
token-uv: ${{github.token}}
token: ${{github.token}}
python-version: "3.14"
resolution: highest
prerelease: disallow
Expand All @@ -39,8 +38,7 @@ jobs:
- name: Run 'pytest'
uses: dycw/action-pytest@latest
with:
token-checkout: ${{github.token}}
token-uv: ${{github.token}}
token: ${{github.token}}
python-version: ${{matrix.python-version}}
resolution: ${{matrix.resolution}}
prerelease: disallow
Expand All @@ -61,5 +59,4 @@ jobs:
- name: Run 'ruff'
uses: dycw/action-ruff@latest
with:
token-checkout: ${{github.token}}
token-ruff: ${{github.token}}
token: ${{github.token}}
7 changes: 3 additions & 4 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ jobs:
tag:
runs-on: ubuntu-latest
steps:
- name: Tag latest commit
uses: dycw/action-tag@latest
- name: Tag the latest commit
uses: dycw/action-tag-commit@latest
with:
token-checkout: ${{github.token}}
token-uv: ${{github.token}}
token: ${{github.token}}
user-name: github-actions-bot
user-email: noreply@github.com
19 changes: 8 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
repos:
- repo: https://github.com/dycw/conformalize
rev: 0.13.6
- repo: https://github.com/dycw/actions
rev: 0.6.3
hooks:
- args:
- id: conformalize-repo
args:
- --description=Template for Python packages
- --envrc
- --envrc--uv
Expand All @@ -14,8 +15,8 @@ repos:
- --github--push--tag
- --gitignore
- --package-name=dycw-template-python
- --pre-commit--dycw
- --pre-commit--prettier
- --pre-commit--python
- --pre-commit--ruff
- --pre-commit--taplo
- --pre-commit--uv
Expand All @@ -25,7 +26,8 @@ repos:
- --readme
- --repo-name=template-python
- --ruff
id: conformalize
- id: format-requirements
- id: replace-sequence-strs
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
Expand All @@ -43,11 +45,6 @@ repos:
args:
- --autofix
- id: trailing-whitespace
- repo: https://github.com/dycw/actions
rev: 0.3.40
hooks:
- id: format-requirements
- id: replace-sequence-strs
- repo: local
hooks:
- id: prettier
Expand Down Expand Up @@ -76,7 +73,7 @@ repos:
- --option
- reorder_keys=true
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.9.21
rev: 0.9.22
hooks:
- id: uv-lock
args:
Expand Down
10 changes: 5 additions & 5 deletions uv.lock

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

Loading