Skip to content

Commit

Permalink
pylint report: fixed minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreRaybaut committed Nov 10, 2023
1 parent 87e0ac6 commit 2a7e954
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ ignored-modules=qtpy.QtWidgets,qtpy.QtCore,qtpy.QtGui,cv2,plotpy._scaler,skimage
disable=wrong-import-order

[DESIGN]
max-args=8 # default: 5
max-args=10 # default: 5
max-attributes=12 # default: 7
max-branches=17 # default: 12
max-branches=20 # default: 12
max-locals=20 # default: 15
min-public-methods=0 # default: 2
max-public-methods=25 # default: 20
2 changes: 2 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@
"/c",
"run_pylint.bat",
"--disable=fixme",
"--disable=too-many-arguments,too-many-locals,too-many-branches,too-many-statements,too-many-public-methods,too-many-lines,too-many-instance-attributes",
"--disable=R0801",
],
"options": {
"cwd": "scripts",
Expand Down
2 changes: 1 addition & 1 deletion cdlapp/core/gui/docks.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from qtpy import QtGui as QG
from qtpy import QtWidgets as QW

from cdlapp.config import Conf, _
from cdlapp.config import Conf

if TYPE_CHECKING: # pragma: no cover
from plotpy.plot import BasePlot
Expand Down
2 changes: 1 addition & 1 deletion cdlapp/tests/features/remoteclient_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def init_cdl(self):
if self.cdlapp is None:
self.cdlapp = RemoteCDLProxy(autoconnect=False)
connect_dlg = DataLabConnectionDialog(self.cdlapp.connect, self)
connect_dlg.host_label.setText(f"Host: DataLab server")
connect_dlg.host_label.setText("Host: DataLab server")
ok = connect_dlg.exec()
if ok:
self.host.log("✨ Initialized DataLab connection ✨")
Expand Down

0 comments on commit 2a7e954

Please sign in to comment.