Skip to content

Commit

Permalink
Upgrade to ruff 0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Jan 14, 2025
1 parent 9375ec2 commit 1dbba93
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repos:
additional_dependencies: [pyparsing, nox]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.11
rev: v0.9.1
hooks:
- id: ruff
args: [ --fix ]
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ extend-select = [
]
ignore = [
"B027",
"F821",
"N818",
"RUF003",
"RUF012",
Expand All @@ -95,6 +96,4 @@ ignore = [
"Q003",
"COM812",
"COM819",
"ISC001",
"ISC002",
]
2 changes: 1 addition & 1 deletion src/packaging/licenses/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
from packaging.licenses._spdx import EXCEPTIONS, LICENSES

__all__ = [
"NormalizedLicenseExpression",
"InvalidLicenseExpression",
"NormalizedLicenseExpression",
"canonicalize_license_expression",
]

Expand Down

0 comments on commit 1dbba93

Please sign in to comment.