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

Refactor ruff check fixes #594

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Refactor ruff check fixes #594

wants to merge 4 commits into from

Conversation

mkb79
Copy link
Owner

@mkb79 mkb79 commented Dec 25, 2024

No description provided.

Simplify and clarify the conditional logic in the loop that checks for directory bindings in hook text. This improves readability and maintains functional consistency.
Replaced direct dictionary access with `.get()` to prevent potential `KeyError` if the key is missing. This change ensures safer handling of the `LOCALE_TEMPLATES` lookup.
Rearranged the __all__ list in alphabetical order to improve readability and maintain consistency. This change has no functional impact but aligns with best practices for module exports."
@mkb79 mkb79 added the refactoring Refactoring label Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant