Lint fixes
This commit is contained in:
parent
763276a65f
commit
60cb5ad85d
@ -120,7 +120,7 @@ class CommandParser:
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, parent=None):
|
def __init__(self):
|
||||||
self._cmd = None
|
self._cmd = None
|
||||||
self._args = []
|
self._args = []
|
||||||
|
|
||||||
|
@ -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):
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user