Make NetCDF file cache handling compatible with dask distributed #2822
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
succeeded
Jun 20, 2024 in 50s
CodeScene PR Check
✅ Code Health Quality Gates: OK
- Declining Code Health: 2 findings(s) 🚩
Details
🚩 Declining Code Health (highest to lowest):
- Excess Number of Function Arguments utils.py: get_distributed_friendly_dask_array
- Excess Number of Function Arguments test_utils.py: TestDistributed.test_get_distributed_friendly_dask_array
Annotations
Check warning on line 527 in satpy/readers/utils.py
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
❌ New issue: Excess Number of Function Arguments
get_distributed_friendly_dask_array has 6 arguments, threshold = 4. This function has too many arguments, indicating a lack of encapsulation. Avoid adding more arguments.
Check warning on line 572 in satpy/tests/reader_tests/test_utils.py
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
❌ New issue: Excess Number of Function Arguments
TestDistributed.test_get_distributed_friendly_dask_array has 5 arguments, threshold = 4. This function has too many arguments, indicating a lack of encapsulation. Avoid adding more arguments.
Loading