-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid code quality alerts in
Client.__init__()
.
LGTM doesn't like the no-op assignments (like `self.port = self.port`) that we did before. And admittedly, that's ugly. It was only done so Sphinx would render the doc-strings in the intended source-code order, which it wouldn't when the doc-strings were put in a more natural place, earlier in the method. This might be a bug in Sphinx. But we can structure the code differently, and then have our cake and eat it too.
- Loading branch information
Showing
1 changed file
with
21 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters