build: Update devs and ci (#1135)
* ci: :arrow_up: Update pre-commit hooks versions
* ci: :sparkles: Add layout and show_critical_paths options to `codecov`
* refactor: :recycle: Refactor code for data preprocessing, model parameters, and plotting
This commit refactors the code in the `DataPreProcessingAPI`, `ModelParameters`, and `PlotSpectra` classes. It removes unnecessary `dtypes` field declarations, adjusts variable names, and improves code readability.
* build: :arrow_up: Update packages