-
Notifications
You must be signed in to change notification settings - Fork 0
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
Rename BL_Python to Ligare #115
Conversation
Also accounts for case differences and separators, and other "BL <something>" names.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whew!
Big shout-out to diffr, it highlights word-level differences and made this so much easier to skim through with gh pr diff 115 | diffr
.

from BL_Python.programming.patterns.dependency_injection import ( | ||
BatchModule, | ||
LoggerModule, | ||
) | ||
from BL_Python.programming.str import get_random_str | ||
from injector import Injector | ||
from Ligare.programming.patterns.dependency_injection import BatchModule, LoggerModule | ||
from Ligare.programming.str import get_random_str |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really, ruff? The line becomes 3 characters shorter and it therefore has to be reflowed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Snark aside, it was hugely helpful to do the reformatting in a different commit - awesome job.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's how it do be when only the tools have opinions.
argv: list[str] | None = None, | ||
log_level: int | str | None = None, | ||
allow_overwrite: bool | None = None, | ||
) -> None: | ||
""" | ||
A method to support the `bl-alembic` command, which replaces `alembic. | ||
A method to support the `ligare-alembic` command, which replaces `alembic`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This entire PR was worth it to catch this typo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll open a second PR for just the typo. ;)
Per https://github.com/uclahs-cds/group-CDS-owners/issues/111, BL_Python will be renamed to Ligare. This PR contains replacement values for strings matching (case-insensitive)
BL_Python
,BL-Python
,BL_Alembic
,BL-Alembic
,BLAlembic
. These replacements include file names, directory names, variables, imports, strings, modules, configurations, etc. There should be no remaining references toBL.*
in this PR (this regex isn't accurate, but close enough).