Lack of PEP8 compliance in bitmessagemain.py #167
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-12-01#167
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Let me just quote what happens when I run
pep8 bitmessagemain.py
:That's not even the best part of it. You can see the full 2443 line PEP8 error list here.
This shouldn't be so insanely un-pythonic. Some work should be done on cleaning up the source code - maybe some classes, those are helpful.
Pep8 is only a style guide, not a requirement by any means. Personally I think limiting lines to 79 characters is way too short when most people are using larger wide screen monitors these days.
I understand that by no means is it required, but it really contributes a long way to the readability of your code.
Seeing as this is extremely un-pythonic, I don't see why it shouldn't be followed to some extent - I usually ignore E501 (whatever > 79 characters) as well, but in general it's pretty great.
This is still an issue - your main file is unreadable as hell, and has made several Python developers I know want to scoop their eyes out with a spoon.
You should split it up more, clean up your variable names; there's lots you can do to make it a more developer-friendly project.