Skip to content

Commit 31eec2c

Browse files
SMoraisAnsyspyansys-ci-botSamuelopez-ansys
authored
CHORE: Add nosec B110 to random AEDT failure (#6137)
Co-authored-by: pyansys-ci-bot <[email protected]> Co-authored-by: Samuel Lopez <[email protected]>
1 parent 105e6d6 commit 31eec2c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/changelog.d/6137.maintenance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add nosec B110 to random AEDT failure

src/ansys/aedt/core/modeler/cad/primitives.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def __getitem__(self, partId) -> Object3d:
254254
obj_name = self.oeditor.GetObjectNameByEdgeID(partId)
255255
if obj_name:
256256
return EdgePrimitive(self.objects[obj_name], partId)
257-
except Exception: # pragma: no cover
257+
except Exception: # nosec B110 # pragma: no cover
258258
pass
259259
return
260260

0 commit comments

Comments
 (0)