Skip to content

Commit 9d4be79

Browse files
committed
lint
1 parent b3c80d9 commit 9d4be79

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/compas_ghpython/artists/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def verify_gh_context():
107107
import scriptcontext as sc
108108

109109
return not isinstance(sc.doc, Rhino.RhinoDoc)
110-
except:
110+
except: # noqa: E722
111111
return False
112112

113113

src/compas_rhino/artists/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def verify_rhino_context():
147147
import scriptcontext as sc
148148

149149
return isinstance(sc.doc, Rhino.RhinoDoc)
150-
except:
150+
except: # noqa: E722
151151
return False
152152

153153

0 commit comments

Comments
 (0)