Skip to content

Commit b0a3658

Browse files
dependabot[bot]leandrodamascenaheitorlessa
authored
chore(deps-dev): bump ruff from 0.0.282 to 0.0.283 (#2937)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Leandro Damascena <[email protected]> Co-authored-by: Heitor Lessa <[email protected]>
1 parent 2fed84b commit b0a3658

File tree

5 files changed

+23
-22
lines changed

5 files changed

+23
-22
lines changed

aws_lambda_powertools/utilities/data_classes/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def __init__(self, data: Dict[str, Any], json_deserializer: Optional[Callable] =
3030
def __getitem__(self, key: str) -> Any:
3131
return self._data[key]
3232

33-
def __eq__(self, other: Any) -> bool:
33+
def __eq__(self, other: object) -> bool:
3434
if not isinstance(other, DictWrapper):
3535
return False
3636

examples/batch_processing/src/context_manager_access.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def lambda_handler(event, context: LambdaContext):
3131
processed_messages: List[Tuple] = processor.process()
3232

3333
for message in processed_messages:
34-
status: Literal["success"] | Literal["fail"] = message[0]
34+
status: Literal["success", "fail"] = message[0]
3535
cause: str = message[1] # (2)!
3636
record: SQSRecord = message[2]
3737

poetry.lock

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

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ mypy = "^1.1.1"
9191
types-python-dateutil = "^2.8.19.6"
9292
httpx = ">=0.23.3,<0.25.0"
9393
sentry-sdk = "^1.22.2"
94-
ruff = ">=0.0.272,<0.0.283"
94+
ruff = ">=0.0.272,<0.0.284"
9595
retry2 = "^0.9.5"
9696

9797
[tool.coverage.run]

ruff.toml

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ ignore = [
3535
"PLW0603", #https://beta.ruff.rs/docs/rules/global-statement/
3636
"B904", # raise-without-from-inside-except - disabled temporarily
3737
"PLC1901", # Compare-to-empty-string - disabled temporarily
38+
"PYI024"
3839
]
3940

4041
# Exclude files and directories

0 commit comments

Comments
 (0)