Doing some work on AFMSlicer and was made warea of ruff SIM105 which also crops up in tests/test_entry_point() a couple of times.
The change is trivial...
Before
try:
entry_point(manually_provided_args=[argument, option])
except SystemExit:
pass
After
import contextlib
...
with contextlib.suppress(SystemExit):
entry_point(manually_provided_args=[option])
Doing some work on AFMSlicer and was made warea of ruff
SIM105which also crops up intests/test_entry_point()a couple of times.The change is trivial...
Before
After