Skip to content

Commit b4c047a

Browse files
committed
spin error fixed
1 parent 9160b4f commit b4c047a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

manager/manager/lint/linter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def evaluate_code(self, code, ros_version, warnings=False, py_lint_source="pylin
6363
r'[^ ]while\s*True\s*:|'
6464
r'[^ ]while\s*1\s*:|'
6565
r'[^ ]while\s*\(\s*1\s*\)\s*:|'
66+
r'rclpy\.spin\(\s*\w+\s*\)|'
6667
r'rclpy\.spin_once\(\s*\w+\s*.*?\)|'
6768
r'\.create_rate\(\s*[\w.]+\s*\)'
6869

0 commit comments

Comments
 (0)