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 CrateCmd to CrateShell #257
Conversation
to make it more descriptive
fdac3fb
to
b507261
Compare
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.
lgtm
Keep in mind that this requires follow up changes in crate where we use CrateCmd
.
Not sure if we should add a changes entry for this. I don't think we make any API promises as it's an app and not a library.
src/crate/crash/command.py
Outdated
@@ -240,15 +248,19 @@ def __init__(self, | |||
} | |||
self.commands.update(built_in_commands) | |||
self.logger = ColorPrinter(is_tty) | |||
|
|||
self.output_writer = output_writer or \ | |||
OutputWriter(PrintWrapper(), is_tty) |
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 think we should add a setup.cfg
pycodestyle
entry and raise the line-length to something like 88 (while still aiming for 80 in most cases)
Breaks like this imho hurt readability more than they improve it. See also https://github.com/ambv/black#line-length
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.
It's better than it was before, though, I think. but I agree, that it makes sense to put it into a single line for readability.
so that there is only a single place where connections are created
for clarification of usage
89bc927
to
ceca8fa
Compare
and other cleanups