From 581190071a083f1bde019be3f0fd38be067f70db Mon Sep 17 00:00:00 2001 From: benoit74 Date: Fri, 19 Apr 2024 07:04:50 +0000 Subject: [PATCH] Upgrade dependencies before release --- .pre-commit-config.yaml | 6 +++--- README.md | 2 +- pyproject.toml | 8 ++++---- tasks.py | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9c7407b..9df00ba 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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) diff --git a/README.md b/README.md index 3721336..459aeb9 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/pyproject.toml b/pyproject.toml index d5cadf4..c94c9fd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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]", diff --git a/tasks.py b/tasks.py index 90854e8..a95c71a 100644 --- a/tasks.py +++ b/tasks.py @@ -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(