Skip to content

Commit ba28e4e

Browse files
committed
Lint fixes
1 parent 6514719 commit ba28e4e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/robotlibcore.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import inspect
2222
import os
2323
from dataclasses import dataclass
24-
from typing import Any, Callable, List, Optional, Union, get_type_hints, ForwardRef
24+
from typing import Any, Callable, List, Optional, Union, get_type_hints
2525

2626
from robot.api.deco import keyword # noqa: F401
2727
from robot.errors import DataError
@@ -226,7 +226,7 @@ def _get_arg_spec(cls, function: Callable) -> inspect.FullArgSpec:
226226
@classmethod
227227
def _get_type_hint(cls, function: Callable):
228228
try:
229-
hints = get_type_hints(function)
229+
hints = get_type_hints(function)
230230
except Exception: # noqa: BLE001
231231
hints = function.__annotations__
232232
return hints

tasks.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,6 @@ def lint(ctx):
140140
command = [
141141
"robotidy",
142142
"--transform",
143-
"RenameKeywords",
144-
"--transform",
145143
"RenameTestCases",
146144
"-c",
147145
"RenameTestCases:capitalize_each_word=True",

0 commit comments

Comments
 (0)