Skip to content

Commit

Permalink
Disable conflicting rule between black and pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
tkoyama010 committed Aug 15, 2020
1 parent b3c23bb commit d6d7242
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .pylintrc
Expand Up @@ -138,7 +138,8 @@ disable=print-statement,
xreadlines-attribute,
deprecated-sys-function,
exception-escape,
comprehension-escape
comprehension-escape,
bad-continuation

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
Expand Down
14 changes: 7 additions & 7 deletions pyvistaqt/dialog.py
Expand Up @@ -22,13 +22,13 @@ class FileDialog(QFileDialog):
dlg_accepted = pyqtSignal(str)

def __init__(
self,
parent=None,
filefilter=None,
save_mode=True,
show=True,
callback=None,
directory=False,
self,
parent=None,
filefilter=None,
save_mode=True,
show=True,
callback=None,
directory=False,
):
"""Initialize the file dialog."""
super(FileDialog, self).__init__(parent)
Expand Down
3 changes: 1 addition & 2 deletions pyvistaqt/plotting.py
Expand Up @@ -370,8 +370,7 @@ def add_menu_bar(self):
tool_menu = self.main_menu.addMenu("Tools")
tool_menu.addAction("Enable Cell Picking (through)", self.enable_cell_picking)
tool_menu.addAction(
"Enable Cell Picking (visible)",
self.enable_cell_picking(through=False),
"Enable Cell Picking (visible)", self.enable_cell_picking(through=False),
)

cam_menu = view_menu.addMenu("Camera")
Expand Down

0 comments on commit d6d7242

Please sign in to comment.