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

autopep8 #15

Merged
merged 1 commit into from
Oct 20, 2018
Merged

autopep8 #15

merged 1 commit into from
Oct 20, 2018

Conversation

mlautman
Copy link
Member

Results of running
autopep8 --max-line-length 130 --in-place $1 on each .py file

@mlautman mlautman requested a review from brawner October 16, 2018 23:32
@@ -146,7 +149,8 @@ def __init__(self, parent=None):
if QT_BINDING == 'pyside':
version_info += ' and PySide %s' % \
('> 1.1.0' if qVersion().startswith('4.') else '>= 2.0.0')
raise RuntimeError('No usable plot type found. Install at least one of: PyQtGraph, MatPlotLib (at least %s) or Python-Qwt5.' % version_info)
raise RuntimeError(
'No usable plot type found. Install at least one of: PyQtGraph, MatPlotLib (at least %s) or Python-Qwt5.' % version_info)
Copy link
Contributor

Choose a reason for hiding this comment

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

Break string into two lines

@@ -127,7 +127,7 @@ def add_curve(self, curve_id, curve_name, curve_color=QColor(Qt.blue), markers_o
curve_object.attach(self)
curve_object.setPen(curve_color)
if markers_on:
curve_object.setSymbol(Qwt.QwtSymbol(Qwt.QwtSymbol.Ellipse, QBrush(curve_color), QPen(Qt.black), QSize(4,4)))
curve_object.setSymbol(Qwt.QwtSymbol(Qwt.QwtSymbol.Ellipse, QBrush(curve_color), QPen(Qt.black), QSize(4, 4)))
Copy link
Contributor

Choose a reason for hiding this comment

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

Line too long

@mlautman mlautman merged commit 949553c into master Oct 20, 2018
@mlautman mlautman deleted the pep8 branch October 20, 2018 03:39
mlautman added a commit that referenced this pull request Dec 12, 2018
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.

2 participants