Skip to content

Commit 247049f

Browse files
committed
Update workflows
1 parent f0b8b26 commit 247049f

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
pip install --upgrade ruff
2525
- name: Lint with ruff
2626
run: |
27-
ruff . --output-format github
27+
ruff check . --output-format github
2828
2929
PyLint:
3030
runs-on: ubuntu-latest
@@ -179,7 +179,7 @@ jobs:
179179
run: |
180180
python -m pip install --upgrade pip
181181
pip install --upgrade twine
182-
- uses: actions/download-artifact@v4
182+
- uses: actions/download-artifact@v4.1.8
183183
with:
184184
pattern: built-*
185185
merge-multiple: true
@@ -198,7 +198,7 @@ jobs:
198198
permissions:
199199
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
200200
steps:
201-
- uses: actions/download-artifact@v4
201+
- uses: actions/download-artifact@v4.1.8
202202
with:
203203
pattern: built-*
204204
merge-multiple: true

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
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.5.0
3+
rev: v4.6.0
44
hooks:
55
- id: check-yaml
66
- id: end-of-file-fixer
@@ -20,7 +20,7 @@ repos:
2020
types: [pyi]
2121

2222
- repo: https://github.com/psf/black
23-
rev: 24.2.0
23+
rev: 24.8.0
2424
hooks:
2525
- id: black
2626
# It is recommended to specify the latest version of Python
@@ -30,7 +30,7 @@ repos:
3030

3131
- repo: https://github.com/astral-sh/ruff-pre-commit
3232
# Ruff version.
33-
rev: v0.3.0
33+
rev: v0.6.3
3434
hooks:
3535
- id: ruff
3636
args: [ --fix, --exit-non-zero-on-fix ]

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ force-single-line = true
178178
known-third-party = []
179179

180180
[tool.ruff.lint.pylint]
181-
182181
allow-dunder-method-names = ["__pretty_repr__", "__pretty_str__", "__rich_repr__"]
183182

184183
[tool.ruff.lint.pydocstyle]

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ commands = {posargs:}
3838
skip_install = true
3939
depends = black,isort
4040
deps = ruff>=0.1.7
41-
commands = ruff .
41+
commands = ruff check .
4242

4343
[testenv:refurb]
4444
skip_install = true

0 commit comments

Comments
 (0)