Skip to content
New issue

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

Using parenthesis grouping instead of backslashs to improve readability #87

Closed
DevOpsCraftsman opened this issue Feb 13, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@DevOpsCraftsman
Copy link

DevOpsCraftsman commented Feb 13, 2024

Example:

rule = (
    Rule()
    .modules_that()
    .are_sub_modules_of("application")
    .should_not()
    .be_imported_by_modules_that()
    .are_sub_modules_of("domain")
)

This is compatible with black.

@DevOpsCraftsman DevOpsCraftsman changed the title Using parenthesis grouping instead of backslash to improve readability Using parenthesis grouping instead of backslashs to improve readability Feb 13, 2024
@zyskarch zyskarch self-assigned this Feb 17, 2024
@zyskarch zyskarch added the documentation Improvements or additions to documentation label Feb 17, 2024
@zyskarch
Copy link
Owner

Thank you for your suggestion! I'll adapt the documentation/Readme accordingly.

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

No branches or pull requests

2 participants