DiamondLightSource / httomo

High-throughput tomography pipeline
https://diamondlightsource.github.io/httomo/
BSD 3-Clause "New" or "Revised" License
4 stars 3 forks source link

Remove unused imports in various python files #293

Open yousefmoazzam opened 2 months ago

yousefmoazzam commented 2 months ago

There's several python files with unused imports, such as task_runner.py not needing the islice or numpy imports: https://github.com/DiamondLightSource/httomo/blob/25ef9aa6c2ef541ba5ea3a6c3bad96bff9c3145c/httomo/runner/task_runner.py#L1-L30

or utils.py not needing the contextmanager or Callable imports: https://github.com/DiamondLightSource/httomo/blob/25ef9aa6c2ef541ba5ea3a6c3bad96bff9c3145c/httomo/utils.py#L1-L6

It would be good at some point to do a check of all python files and update their imports accordingly, to tidy things up.