Minor stylistic code edits.

This commit is contained in:
Dorian 2014-07-29 17:59:29 -04:00
parent 6b9ecb5785
commit b1a0024edf
3 changed files with 2 additions and 3 deletions

View File

@ -23,7 +23,6 @@ class MenuScreen(QWidget):
self.exit_button.clicked.connect(self.exit_app) self.exit_button.clicked.connect(self.exit_app)
widget_layout = QVBoxLayout(self) widget_layout = QVBoxLayout(self)
widget_layout.addWidget(self.systemLabel)
widget_layout.addStretch() widget_layout.addStretch()
widget_layout.addWidget(self.exit_button) widget_layout.addWidget(self.exit_button)
widget_layout.addStretch() widget_layout.addStretch()
@ -32,7 +31,7 @@ class MenuScreen(QWidget):
@staticmethod @staticmethod
def get_system_info(): def get_system_info():
"""Retrieve information about the system.""" """Retrieve information about the system."""
message = 'I am running on {os}.\n My screen is {height}x{width}' message = 'I am running on {os}.\nMy screen is {height}x{width}'
geometry = QDesktopWidget().availableGeometry() geometry = QDesktopWidget().availableGeometry()
os_sys = ' '.join(os.uname()) os_sys = ' '.join(os.uname())
return message.format(os=os_sys, height=geometry.height(), width=geometry.width()) return message.format(os=os_sys, height=geometry.height(), width=geometry.width())

View File

@ -1,3 +1,4 @@
# Requirements for developing the justCheckers app # Requirements for developing the justCheckers app
Sphinx>=1.2.2 Sphinx>=1.2.2
nose>=1.3.0 nose>=1.3.0
flake8

View File

@ -18,4 +18,3 @@ def clean():
"""Clean generated files.""" """Clean generated files."""
run('rm *.pyc') run('rm *.pyc')
run('rm _build -rv') run('rm _build -rv')