We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include support for adding license headers to Pascal (.pas) file types by adding the following code to src/reuse/comment.py:
src/reuse/comment.py
class PascalCommentStyle(CommentStyle): """Pascal comment style.""" SHORTHAND = "pas" SINGLE_LINE = "//" INDENT_AFTER_SINGLE = " " MULTI_LINE = MultiLineSegments("(*", "*", "*)") INDENT_BEFORE_MIDDLE = " " INDENT_AFTER_MIDDLE = " " INDENT_BEFORE_END = " "
Add ".pas": PascalCommentStyle, to the EXTENSION_COMMENT_STYLE_MAP.
".pas": PascalCommentStyle,
EXTENSION_COMMENT_STYLE_MAP
If this is okay, I can open a pull request with this suggestion!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Include support for adding license headers to Pascal (.pas) file types by adding the following code to
src/reuse/comment.py
:Add
".pas": PascalCommentStyle,
to theEXTENSION_COMMENT_STYLE_MAP
.If this is okay, I can open a pull request with this suggestion!
The text was updated successfully, but these errors were encountered: