Skip to content

Commit 4d5b630

Browse files
chore(deps-dev): bump ruff from 0.9.10 to 0.11.0 (#6273)
* chore(deps-dev): bump ruff from 0.9.10 to 0.11.0 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.9.10 to 0.11.0. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.9.10...0.11.0) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Making Ruff happy --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Leandro Damascena <[email protected]>
1 parent f57ad0a commit 4d5b630

File tree

4 files changed

+25
-24
lines changed

4 files changed

+25
-24
lines changed

Diff for: aws_lambda_powertools/utilities/parser/models/s3.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class S3Message(BaseModel):
5353
s3SchemaVersion: str
5454
configurationId: str
5555
bucket: S3Bucket
56-
object: S3Object # noqa: A003,VNE003
56+
object: S3Object # noqa: A003
5757

5858

5959
class S3EventNotificationObjectModel(BaseModel):
@@ -71,7 +71,7 @@ class S3EventNotificationEventBridgeBucketModel(BaseModel):
7171
class S3EventNotificationEventBridgeDetailModel(BaseModel):
7272
version: str
7373
bucket: S3EventNotificationEventBridgeBucketModel
74-
object: S3EventNotificationObjectModel # noqa: A003,VNE003
74+
object: S3EventNotificationObjectModel # noqa: A003
7575
request_id: str = Field(..., alias="request-id")
7676
requester: str
7777
source_ip_address: Optional[str] = Field(None, alias="source-ip-address")

Diff for: poetry.lock

+20-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ types-python-dateutil = "^2.8.19.6"
113113
aws-cdk-aws-appsync-alpha = "^2.59.0a0"
114114
httpx = ">=0.23.3,<0.29.0"
115115
sentry-sdk = ">=1.22.2,<3.0.0"
116-
ruff = ">=0.5.1,<0.9.11"
116+
ruff = ">=0.5.1,<0.11.1"
117117
retry2 = "^0.9.5"
118118
pytest-socket = ">=0.6,<0.8"
119119
types-redis = "^4.6.0.7"

Diff for: ruff.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ lint.ignore = [
3838
"B904", # raise-without-from-inside-except - disabled temporarily
3939
"PLC1901", # Compare-to-empty-string - disabled temporarily
4040
"PYI024",
41-
"A005"
41+
"A005",
42+
"TC006" # https://docs.astral.sh/ruff/rules/runtime-cast-value/
4243
]
4344

4445
# Exclude files and directories

0 commit comments

Comments
 (0)