Skip to content

Commit

Permalink
Upgrade dependencies before release
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Apr 19, 2024
1 parent ab1e5b2 commit 5811900
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/psf/black
rev: "24.3.0"
rev: "24.4.0"
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.3
rev: v0.4.0
hooks:
- id: ruff
- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.354
rev: v1.1.359
hooks:
- id: pyright
name: pyright (system)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This project is aimed at creating a sustainable solution to make TED accessible

`ted2zim` adheres to openZIM's [Contribution Guidelines](https://github.com/openzim/overview/wiki/Contributing).

`ted2zim` has implemented openZIM's [Python bootstrap, conventions and policies](https://github.com/openzim/_python-bootstrap/docs/Policy.md) **v1.0.0**.
`ted2zim` has implemented openZIM's [Python bootstrap, conventions and policies](https://github.com/openzim/_python-bootstrap/docs/Policy.md) **v1.0.1**.

## Getting started :rocket:

Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@ scripts = [
"invoke==2.2.0",
]
lint = [
"black==24.3.0",
"ruff==0.3.3",
"black==24.4.0",
"ruff==0.4.0",
]
check = [
"pyright==1.1.354",
"pyright==1.1.359",
]
test = [
"pytest==8.1.1",
"coverage==7.4.4",
]
dev = [
"pre-commit==3.6.2",
"pre-commit==3.7.0",
"debugpy==1.8.1",
"ted2zim[scripts]",
"ted2zim[lint]",
Expand Down
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def fix_black(ctx: Context, args: str = "."):
def fix_ruff(ctx: Context, args: str = "."):
"""fix all ruff rules"""
args = args or "." # needed for hatch script
ctx.run(f"ruff --fix {args}", pty=use_pty)
ctx.run(f"ruff check --fix {args}", pty=use_pty)


@task(
Expand Down

0 comments on commit 5811900

Please sign in to comment.