Skip to content

[CI][Dev] Fix shellcheck errors in the ci/scripts/install_dask.sh #46846

Closed
@hiroyuki-sato

Description

@hiroyuki-sato

Describe the enhancement requested

This is the sub issue #44748.

  • SC2102 (info): Ranges can only match single chars (mentioned due to duplicates).
  • SC2086 (info): Double quote to prevent globbing and word splitting.
shellcheck ci/scripts/install_dask.sh

In ci/scripts/install_dask.sh line 33:
  pip install dask[dataframe]
                  ^---------^ SC2102 (info): Ranges can only match single chars (mentioned due to duplicates).


In ci/scripts/install_dask.sh line 35:
  pip install dask[dataframe]==${dask}
                  ^---------^ SC2102 (info): Ranges can only match single chars (mentioned due to duplicates).
                               ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
  pip install dask[dataframe]=="${dask}"

For more information:
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
  https://www.shellcheck.net/wiki/SC2102 -- Ranges can only match single char...

Component(s)

Continuous Integration

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions