Skip to content

Commit

Permalink
disable PTC-W0043 warning in test bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Czaki committed Sep 3, 2024
1 parent 67f3fd6 commit d0ec818
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions package/PartSeg/launcher_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ def _test_imports(): # pragma: no cover
label = LabelChoose(w1.settings)
label.refresh()
v.close()
del label
del w1
del w2
del w3
del v
del app
del console
del label # skipcq: PTC-W0043
del w1 # skipcq: PTC-W0043
del w2 # skipcq: PTC-W0043
del w3 # skipcq: PTC-W0043
del v # skipcq: PTC-W0043
del app # skipcq: PTC-W0043
del console # skipcq: PTC-W0043
print("end_test_import")


Expand Down Expand Up @@ -145,8 +145,8 @@ def main(): # pragma: no cover # noqa: PLR0915
check_survey.start()
wind.show()
rc = my_app.exec_()
del wind # skipcq: PTC-W0043`
del my_app # skipcq: PTC-W0043`
del wind # skipcq: PTC-W0043
del my_app # skipcq: PTC-W0043
sys.exit(rc)


Expand Down

0 comments on commit d0ec818

Please sign in to comment.