Skip to content

Commit 9fc4bf4

Browse files
adamtheturtleclaude
andcommitted
Keep vulture noqa comments on the decorator line
Vulture reports decorated methods at the decorator's line, so the noqa comments must move up with the new @OverRide decorators. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
1 parent e580953 commit 9fc4bf4

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/test_model_target_web_api_details.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ def __init__(
189189
self.send_kwargs: dict[str, object] | None = None
190190
self._response = response
191191

192-
@override
193-
def send( # noqa: V105
192+
@override # noqa: V105
193+
def send(
194194
self,
195195
request: requests.PreparedRequest,
196196
**kwargs: Any,
@@ -206,8 +206,8 @@ def send( # noqa: V105
206206
class _FailingSession(requests.Session):
207207
"""A requests session which fails before receiving a response."""
208208

209-
@override
210-
def send( # noqa: V105
209+
@override # noqa: V105
210+
def send(
211211
self,
212212
request: requests.PreparedRequest,
213213
**kwargs: Any,

tests/test_vumark_target_link.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ class _NoElementsDriver(WebDriver):
1818
def __init__(self) -> None:
1919
"""Avoid starting a browser session."""
2020

21-
@override
22-
def find_elements( # noqa: V105
21+
@override # noqa: V105
22+
def find_elements(
2323
self,
2424
*args: Any,
2525
**kwargs: Any,

0 commit comments

Comments
 (0)