diff options
author | Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> | 2021-08-11 00:30:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-11 07:30:22 +0000 |
commit | fb8c954e2ea2e4827ff9930838d7afdb85724f31 (patch) | |
tree | 14272ab7b51ef2c41729c6b3403acee7c191be79 | |
parent | e89f2c0e913d42b5e689c40f7a34be67763e31aa (diff) | |
download | spack-fb8c954e2ea2e4827ff9930838d7afdb85724f31.tar.gz spack-fb8c954e2ea2e4827ff9930838d7afdb85724f31.tar.bz2 spack-fb8c954e2ea2e4827ff9930838d7afdb85724f31.tar.xz spack-fb8c954e2ea2e4827ff9930838d7afdb85724f31.zip |
Switch to settings option used in latest *and* oldest listed version (#25340)
-rw-r--r-- | lib/spack/spack/cmd/style.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/style.py b/lib/spack/spack/cmd/style.py index b296126116..eb95904dfb 100644 --- a/lib/spack/spack/cmd/style.py +++ b/lib/spack/spack/cmd/style.py @@ -312,7 +312,7 @@ def run_mypy(mypy_cmd, file_list, args): @tool("isort") def run_isort(isort_cmd, file_list, args): # always run with config from running spack prefix - isort_args = ("--settings-file", os.path.join(spack.paths.prefix, "pyproject.toml")) + isort_args = ("--settings-path", os.path.join(spack.paths.prefix, "pyproject.toml")) if not args.fix: isort_args += ("--check", "--diff") |