Skip to content

Conversation

ralienpp
Copy link

@ralienpp ralienpp commented Nov 14, 2024

Added support to RobotFramework files which have the .robot extension and use a Python-style comment.

  • Added a change log entry in changelog.d/<directory>/.
  • Added self to copyright blurb of touched files.
  • Added self to AUTHORS.rst.
  • My changes do not contradict
    the current specification.
  • I agree to license my contribution under the licenses indicated in the
    changed files.

Comment on lines +512 to +520
class RobotFrameworkCommentStyle(CommentStyle):
"""RobotFramework comment style."""

SHORTHAND = "robot"

SINGLE_LINE = "#"
INDENT_AFTER_SINGLE = " "


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks to me like you could use PythonCommentStyle (among others) here. Please let me know if I'm wrong.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That doesn't look like our changelog files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants