Open
Description
Describe the bug
I have a method in .py ,so I use it in *** Settings *** Library 公共组件/commend.py, .robot show me some error No keyword with name 'print_something' found. but I run my testcase it can work .
Steps To Reproduce
commend.py
def print_something() -> None:
"""
:param self:
:param param1:
:return:
"""
print("引入方法")
return
test1.roobt
*** Settings ***
Documentation 测试用例
Library 公共组件/commend.py
*** Test Cases ***
first
print_something
Log Hello World
Expected behavior
it is not a error in .robot
Screenshots/ Videos



Pycharm [e.g. 2025.1.1]
plugins: robotcode4ij-1.2.0.zip
RobotCode Version [e.g. 1.2]
OS: [e.g. Windows, Linux]
Python Version [e.g. 3.13.2]
RobotFramework Version [e.g. 6.1.1]
Additional tools like robocop, robotidy