-
Notifications
You must be signed in to change notification settings - Fork 69
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
Prevent code from overflowing pre block #34
Changes from 9 commits
6be7103
c4ac01e
c546778
57173c4
bafd0fa
b30f10b
e7b8904
e275046
6edb768
97be8f9
4e365c0
86c34af
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,10 @@ class Vertex(object): | |
self.neighbors[neighbor] = weight | ||
|
||
def __str__(self): | ||
return '{} neighbors: {}'.format(self.key, [x.key for x in self.neighbors]) | ||
return '{} neighbors: {}'.format( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Did this change actually affect spillover in those boxes? Or does this address character limits in a text editor? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This must have been spilling over... the character limits I'm only enforcing in .py files as that's where my linter runs 😄 |
||
self.key, | ||
[x.key for x in self.neighbors] | ||
) | ||
|
||
def get_connections(self): | ||
return self.neighbors.keys() | ||
|
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.
Mentioned it in my general comment, but I think this rule created an extra line at the bottom of each pre box! Catastrophe!