-
Notifications
You must be signed in to change notification settings - Fork 979
repl config path #1359
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
repl config path #1359
Conversation
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, but please fix “ # pylint: disable=unspecified-encoding” while you are at in (copied from the description of this PR.
I am also very unhappy about the SQL-stubs, its an extra requirement that really are not needed.
LGTM. Thanks |
Added commit to:
If a library do not contain type hints, we should not add extra requirements just to cover that. We use our own version of async-pyserial that too comes with a level of type hints. The sqlalchemystub slipped through my review, hence correcting it. |
Added commit to solve black/pylint. |
Added commit with more comments in mixin, to explain the use of execute(). Mypy needs to be silenced for the execute function (not all the others). @alexrudd2 I will leave it up to you to correct or merge this, since I have corrected it (You have 2 approvals). |
…int" This reverts commit 636e9a7.
Co-authored-by: jan iversen <jancasacondor@gmail.com>
fa6fb2d
to
334f986
Compare
It seems there is an automatic rule to change PR targets which caused some confusion. I intended this to be merged into #1356 Sorry Anyways, I rebased it to squash the lint commits. |
This is totally unrelated to #1357 since I do not yet have a solution to it, so I removed that closing keyword. |
I think this PR is now ready. However, |
I thought you were, I will take a look on that later. The protection should only require an approval, which you have. |
* more mypy. Co-authored-by: jan iversen <jancasacondor@gmail.com>
mypy
is not happy with the optionmodbus_config
being used for both a Path and a dictionary (possibly) loaded from that path. This fixes another 9 errors.Since this is technically an interface change, I've kept it separate from my other type fixes. Another option to to use e.g.
modbus_config_dict
but that seemed verbose.@dhoomakethu