Lint fixes

This commit is contained in:
Florian Bruhin 2014-04-10 07:42:21 +02:00
parent 763276a65f
commit 60cb5ad85d
3 changed files with 3 additions and 2 deletions

View File

@ -120,7 +120,7 @@ class CommandParser:
""" """
def __init__(self, parent=None): def __init__(self):
self._cmd = None self._cmd = None
self._args = [] self._args = []

View File

@ -31,7 +31,7 @@ class SettingSectionCompletionModel(CompletionModel):
super().__init__(parent) super().__init__(parent)
cat = self.new_category("Config sections") cat = self.new_category("Config sections")
for name in configdata().keys(): for name in configdata().keys():
self.new_item(cat, name ) self.new_item(cat, name)
class SettingOptionCompletionModel(CompletionModel): class SettingOptionCompletionModel(CompletionModel):

View File

@ -66,6 +66,7 @@ options = {
], ],
'flake8': [ 'flake8': [
'E241', # Multiple spaces after , 'E241', # Multiple spaces after ,
'E265', # Block comment should start with '#'
], ],
'pep257': [ 'pep257': [
'D102', # Docstring missing, will be handled by others 'D102', # Docstring missing, will be handled by others