Skip to content

Changes based on style and lint checks. (final_code_quality_5) #1363

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

Merged
merged 1 commit into from
Oct 31, 2018

Conversation

coffeedogs
Copy link
Contributor

@coffeedogs coffeedogs commented Oct 10, 2018

Changes based on style and lint checks. (final_code_quality_5)

@coffeedogs coffeedogs force-pushed the final_code_quality_5 branch 2 times, most recently from 155ddd9 to a93254f Compare October 11, 2018 12:51
@coffeedogs
Copy link
Contributor Author

src/defaults.py is made use of by src/bitmessagemain.py, though I've bumped that to a later PR since otherwise it was going to start pulling in the kivy files in that I haven't finished yet.

@coffeedogs coffeedogs force-pushed the final_code_quality_5 branch from a93254f to afd7603 Compare October 11, 2018 13:09
@@ -75,13 +78,15 @@
except (ImportError, AttributeError):
WSAECONNRESET = ECONNRESET
try:
from errno import WSAEADDRINUSE
# side-effects on Windows or cruft?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea this is workaround for some Windows crap, it uses winsock which is kind of similar to unix' socket, but it can have its own error numbers, and these aren't defined when running python on other OSes. Maybe there is a nicer workaround but for the time being let's keep it as it is.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in next commit...

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see 533df80

Copy link
Member

@PeterSurda PeterSurda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make the small changes (docstrings, obsolete code) and it's ready to go.

@coffeedogs coffeedogs force-pushed the final_code_quality_5 branch 2 times, most recently from 5a74284 to e6d2cd5 Compare October 15, 2018 10:50
@coffeedogs coffeedogs force-pushed the final_code_quality_5 branch 2 times, most recently from baee386 to fbf9361 Compare October 18, 2018 19:13
@coffeedogs coffeedogs force-pushed the final_code_quality_5 branch 2 times, most recently from 6793d88 to 7cf1ce5 Compare October 20, 2018 13:57
Copy link
Member

@PeterSurda PeterSurda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor changes in docstrings, but I don't want to review it again so it's good to go. The docstrings can be adjusted later with a separate PR.

@coffeedogs coffeedogs force-pushed the final_code_quality_5 branch 2 times, most recently from 50bee6d to e8c76da Compare October 31, 2018 14:04
@coffeedogs coffeedogs force-pushed the final_code_quality_5 branch from e8c76da to 0bceeca Compare October 31, 2018 14:04
@coffeedogs coffeedogs merged commit 7a53da7 into Bitmessage:v0.6 Oct 31, 2018
@coffeedogs coffeedogs deleted the final_code_quality_5 branch October 31, 2018 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants