Skip to content

Conversation

@ddluke
Copy link
Contributor

@ddluke ddluke commented Oct 8, 2025

Closes #139

Description

This PR changes the formatter to allow dots in scopes. This can help a lot to more clearly express the scope of a change, especially in mono repositories with nested packages to use a <domain>.<subdomain> like syntax

@ddluke ddluke force-pushed the fix/allow-dots-in-scope branch from 9aab75f to 10d1e31 Compare October 8, 2025 05:17
@ddluke ddluke changed the title fix: adds support for dots in scope fix: scope now allows usage of dots Oct 8, 2025
Copy link
Member

@thekaveman thekaveman left a comment

Choose a reason for hiding this comment

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

Thank you @ddluke this looks great! Just one small suggestion.

return r"(\([\w \/:,-\.]+\))?"
else:
return r"(\([\w \/:,-]+\))"
return r"(\([\w \/:,-\.]+\))"
Copy link
Member

Choose a reason for hiding this comment

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

What do you think about pulling out escaped_delimiters from the if block above, to be able to reuse it here? I guess I didn't realize we listed these in multiple places, probably a good idea to have them once.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Does this help?

Copy link
Member

@thekaveman thekaveman left a comment

Choose a reason for hiding this comment

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

Great work, thank you @ddluke!

@thekaveman thekaveman merged commit 5d2940c into compilerla:main Oct 10, 2025
6 checks passed
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.

Commit Scope may not contain dots

2 participants