-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -144,3 +144,4 @@ Contributors | |
- Skyler Grey <[email protected]> | ||
- Emil Velikov <[email protected]> | ||
- Linnea Gräf <[email protected]> | ||
- Alex Railean <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
git_email: [email protected] | ||
git_user: Alex Railean | ||
issue_id: null | ||
message: Add support for RobotFramework | ||
os_user: redacted | ||
timestamp: 1731575694 | ||
type: feature |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ | |
# SPDX-FileCopyrightText: 2023 Shun Sakai <[email protected]> | ||
# SPDX-FileCopyrightText: 2024 Rivos Inc. | ||
# SPDX-FileCopyrightText: 2024 Anthony Loiseau <[email protected]> | ||
# SPDX-FileCopyrightText: 2024 Alex Railean <[email protected]> | ||
# | ||
# SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
|
@@ -508,6 +509,15 @@ class ReStructedTextCommentStyle(CommentStyle): | |
INDENT_AFTER_SINGLE = " " | ||
|
||
|
||
class RobotFrameworkCommentStyle(CommentStyle): | ||
"""RobotFramework comment style.""" | ||
|
||
SHORTHAND = "robot" | ||
|
||
SINGLE_LINE = "#" | ||
INDENT_AFTER_SINGLE = " " | ||
|
||
|
||
class SemicolonCommentStyle(CommentStyle): | ||
"""Semicolon comment style.""" | ||
|
||
|
@@ -764,6 +774,7 @@ class XQueryCommentStyle(CommentStyle): | |
".rbx": PythonCommentStyle, | ||
".rkt": LispCommentStyle, | ||
".Rmd": HtmlCommentStyle, | ||
".robot": RobotFrameworkCommentStyle, | ||
".rs": CppCommentStyle, | ||
".rss": HtmlCommentStyle, | ||
".rst": ReStructedTextCommentStyle, | ||
|