**Pylint used to check for potential errors and also used to clean code**
♻ Changed
- `parcel_approach` no longer required when initializing `CAP`. It is still required for some plotting methods and the
user will be warned if it is None. This allows the use of certain methods without having to keep adding this parameter.
- For `CAP.calculate_metrics`, `file_name` parameter changed to `prefix_file_name` to better reflect that it will be
added as a prefix to the csv files.
🐛 Fixes
- Fixed issue with no context manager or closing json file in `TimeseriesExtractor` where if `tr` is not specified,
the bold metadata is used to extract the tr. However, this was done without a context manager to ensure the file closes
properly afterwards.
- All imports, except for `pybids` are no longer imported in each function and are now at top level.