From b1a0024edf8af76faf60de97c2e3b6908c721e56 Mon Sep 17 00:00:00 2001 From: Dorian Pula Date: Tue, 29 Jul 2014 17:59:29 -0400 Subject: [PATCH] Minor stylistic code edits. --- justcheckers/app.py | 3 +-- requirements/development.txt | 1 + tasks.py | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/justcheckers/app.py b/justcheckers/app.py index 2e790a4..56de761 100644 --- a/justcheckers/app.py +++ b/justcheckers/app.py @@ -23,7 +23,6 @@ class MenuScreen(QWidget): self.exit_button.clicked.connect(self.exit_app) widget_layout = QVBoxLayout(self) - widget_layout.addWidget(self.systemLabel) widget_layout.addStretch() widget_layout.addWidget(self.exit_button) widget_layout.addStretch() @@ -32,7 +31,7 @@ class MenuScreen(QWidget): @staticmethod def get_system_info(): """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() os_sys = ' '.join(os.uname()) return message.format(os=os_sys, height=geometry.height(), width=geometry.width()) diff --git a/requirements/development.txt b/requirements/development.txt index e782739..6ce58af 100644 --- a/requirements/development.txt +++ b/requirements/development.txt @@ -1,3 +1,4 @@ # Requirements for developing the justCheckers app Sphinx>=1.2.2 nose>=1.3.0 +flake8 diff --git a/tasks.py b/tasks.py index 1131f0b..4225749 100644 --- a/tasks.py +++ b/tasks.py @@ -18,4 +18,3 @@ def clean(): """Clean generated files.""" run('rm *.pyc') run('rm _build -rv') -