Skip to content

Commit 650a2e0

Browse files
authored
Merge pull request #40 from openzim/fix_ruff
Fix ruff command to use the now mandatory command for fixing
2 parents bf16965 + 504079a commit 650a2e0

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.0.1] - 2024-04-19
9+
10+
### Fixed
11+
12+
- Fix ruff command to use the now mandatory `check` command for fixing
13+
14+
### Added
15+
816
## [1.0.0] - 2024-02-13
917

1018
### Added

tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def fix_black(ctx: Context, args: str = "."):
9292
def fix_ruff(ctx: Context, args: str = "."):
9393
"""fix all ruff rules"""
9494
args = args or "." # needed for hatch script
95-
ctx.run(f"ruff --fix {args}", pty=use_pty)
95+
ctx.run(f"ruff check --fix {args}", pty=use_pty)
9696

9797

9898
@task(

0 commit comments

Comments
 (0)