Retry only for transient error codes (#950) #41
Annotations
10 errors
Ruff (RUF012):
src/autolabel/transforms/webpage_transform.py#L39
src/autolabel/transforms/webpage_transform.py:39:20: RUF012 Mutable class attributes should be annotated with `typing.ClassVar`
|
Ruff (PLR0913):
src/autolabel/transforms/webpage_transform.py#L43
src/autolabel/transforms/webpage_transform.py:43:9: PLR0913 Too many arguments in function definition (8 > 5)
|
Ruff (FA100):
src/autolabel/transforms/webpage_transform.py#L46
src/autolabel/transforms/webpage_transform.py:46:25: FA100 Add `from __future__ import annotations` to simplify `typing.Dict`
|
Ruff (ARG002):
src/autolabel/transforms/webpage_transform.py#L48
src/autolabel/transforms/webpage_transform.py:48:9: ARG002 Unused method argument: `timeout`
|
Ruff (RUF013):
src/autolabel/transforms/webpage_transform.py#L49
src/autolabel/transforms/webpage_transform.py:49:30: RUF013 PEP 484 prohibits implicit `Optional`
|
Ruff (FBT001):
src/autolabel/transforms/webpage_transform.py#L51
src/autolabel/transforms/webpage_transform.py:51:9: FBT001 Boolean-typed positional argument in function definition
|
Ruff (FBT002):
src/autolabel/transforms/webpage_transform.py#L51
src/autolabel/transforms/webpage_transform.py:51:9: FBT002 Boolean default positional argument in function definition
|
Ruff (RUF013):
src/autolabel/transforms/webpage_transform.py#L52
src/autolabel/transforms/webpage_transform.py:52:21: RUF013 PEP 484 prohibits implicit `Optional`
|
Ruff (S113):
src/autolabel/transforms/webpage_transform.py#L77
src/autolabel/transforms/webpage_transform.py:77:24: S113 Probable use of `requests` call without timeout
|
Ruff (TRY300):
src/autolabel/transforms/webpage_transform.py#L78
src/autolabel/transforms/webpage_transform.py:78:13: TRY300 Consider moving this statement to an `else` block
|