Skip to content
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

[DNM] black -l 79 --skip-string-normalization # 21.5b1 #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

peternowee
Copy link
Owner

Example for discussion in pydot#265.

Comment on lines 36 to +261
'showboxes',
'style',
'tailURL',
'tailclip',
'tailhref',
'taillabel',
'tailport',
'tailtarget',
'tailtooltip',
'target',
'tooltip',
'weight',
'rank',
}


NODE_ATTRIBUTES = {
'URL', 'color', 'colorscheme', 'comment',
'distortion', 'fillcolor', 'fixedsize', 'fontcolor', 'fontname',
'fontsize', 'group', 'height', 'id', 'image', 'imagescale', 'label',
'labelloc', 'layer', 'margin', 'nojustify', 'orientation', 'penwidth',
'peripheries', 'pin', 'pos', 'rects', 'regular', 'root', 'samplepoints',
'shape', 'shapefile', 'showboxes', 'sides', 'skew', 'sortv', 'style',
'target', 'tooltip', 'vertices', 'width', 'z',
'URL',
'color',
'colorscheme',
'comment',
'distortion',
'fillcolor',
'fixedsize',
'fontcolor',
'fontname',
'fontsize',
'group',
'height',
'id',
'image',
'imagescale',
'label',
'labelloc',
'layer',
'margin',
'nojustify',
'orientation',
'penwidth',
'peripheries',
'pin',
'pos',
'rects',
'regular',
'root',
'samplepoints',
'shape',
'shapefile',
'showboxes',
'sides',
'skew',
'sortv',
'style',
'target',
'tooltip',
'vertices',
'width',
'z',
# The following are attributes dot2tex
'texlbl', 'texmode'
'texlbl',
'texmode',
}


CLUSTER_ATTRIBUTES = {
'K', 'URL', 'bgcolor', 'color', 'colorscheme',
'fillcolor', 'fontcolor', 'fontname', 'fontsize', 'label', 'labeljust',
'labelloc', 'lheight', 'lp', 'lwidth', 'nojustify', 'pencolor',
'penwidth', 'peripheries', 'sortv', 'style', 'target', 'tooltip'
'K',
'URL',
'bgcolor',
'color',
'colorscheme',
'fillcolor',
'fontcolor',
'fontname',
'fontsize',
'label',
'labeljust',
'labelloc',
'lheight',
'lp',
'lwidth',
'nojustify',
'pencolor',
'penwidth',
'peripheries',
'sortv',
'style',
'target',
'tooltip',
Copy link
Owner Author

Choose a reason for hiding this comment

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

Wow, so many new lines.

return node_str

if node_port_idx > 0:
a = node_str[:node_port_idx]
b = node_str[node_port_idx+1:]
b = node_str[node_port_idx + 1 :]
Copy link
Owner Author

Choose a reason for hiding this comment

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

Copy link

This pull request has conflicts, please resolve those so that the changes can be evaluated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant