Skip to content

Commit

Permalink
Upgrade Ruff to 0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek committed May 2, 2024
1 parent caa7bc1 commit 4cb8590
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/history/hatch.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- The `env show` command now outputs data about all internal environments when using the `--json` flag
- Upgrade default CPython distributions to 20240415
- Upgrade default PyPy distributions to 7.3.15
- Upgrade Ruff to 0.4.1
- Upgrade Ruff to 0.4.2
- Upgrade PyApp to 0.19.0 for binary builds
- Bump the minimum supported version of Hatchling to 1.24.2
- Bump the minimum supported version of virtualenv to 20.26.1
Expand Down
1 change: 1 addition & 0 deletions ruff_defaults.toml
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ select = [
"FURB180",
"FURB181",
"FURB187",
"FURB192",
"G001",
"G002",
"G003",
Expand Down
1 change: 1 addition & 0 deletions src/hatch/cli/fmt/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,7 @@ def get_config(self, section: str) -> dict[str, Any]:
'FURB180',
'FURB181',
'FURB187',
'FURB192',
'PERF403',
'PLC0415',
'PLC1901',
Expand Down
2 changes: 1 addition & 1 deletion src/hatch/env/internal/static_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ def get_default_config() -> dict[str, Any]:
}


RUFF_DEFAULT_VERSION: str = '0.4.1'
RUFF_DEFAULT_VERSION: str = '0.4.2'

0 comments on commit 4cb8590

Please sign in to comment.