Skip to content

Commit

Permalink
Upgrade Ruff to 0.4.1 (#1414)
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek authored Apr 22, 2024
1 parent e589887 commit ee1b883
Show file tree
Hide file tree
Showing 4 changed files with 6 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 @@ -26,7 +26,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Use the Git user as the default username for new project URL metadata
- Add `HATCH_DEBUG` environment variable that when enabled will show local variables in the case of unhandled tracebacks
- Upgrade default CPython distributions to 20240415
- Upgrade Ruff to 0.4.0
- Upgrade Ruff to 0.4.1
- Upgrade PyApp to 0.17.0 for binary builds
- Bump the minimum supported version of Hatchling to 1.24.1

Expand Down
2 changes: 2 additions & 0 deletions ruff_defaults.toml
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,10 @@ select = [
"PLE0302",
"PLE0303",
"PLE0304",
"PLE0305",
"PLE0307",
"PLE0308",
"PLE0309",
"PLE0604",
"PLE0605",
"PLE0643",
Expand Down
2 changes: 2 additions & 0 deletions src/hatch/cli/fmt/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,9 @@ def get_config(self, section: str) -> dict[str, Any]:
'PLE0115',
'PLE0303',
'PLE0304',
'PLE0305',
'PLE0308',
'PLE0309',
'PLE0643',
'PLE0704',
'PLE1132',
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.0'
RUFF_DEFAULT_VERSION: str = '0.4.1'

0 comments on commit ee1b883

Please sign in to comment.