Style: black 23, skip magic trailing comma (#35351)
* Style: black 23, skip magic trailing commas * isort should use same line length as black * Fix unused import * Update version of black used in CI * Update new packages * Update new packages
This commit is contained in:
@@ -284,11 +284,7 @@ def libs(self):
|
||||
"libhdf5_java",
|
||||
"libhdf5",
|
||||
],
|
||||
("cxx", "hl"): [
|
||||
"libhdf5_hl_cpp",
|
||||
"libhdf5_hl",
|
||||
"libhdf5",
|
||||
],
|
||||
("cxx", "hl"): ["libhdf5_hl_cpp", "libhdf5_hl", "libhdf5"],
|
||||
("fortran", "hl"): [
|
||||
"libhdf5_hl_fortran",
|
||||
"libhdf5_hl_f90cstub",
|
||||
@@ -297,29 +293,11 @@ def libs(self):
|
||||
"libhdf5_f90cstub",
|
||||
"libhdf5",
|
||||
],
|
||||
("hl",): [
|
||||
"libhdf5_hl",
|
||||
"libhdf5",
|
||||
],
|
||||
("cxx", "fortran"): [
|
||||
"libhdf5_fortran",
|
||||
"libhdf5_f90cstub",
|
||||
"libhdf5_cpp",
|
||||
"libhdf5",
|
||||
],
|
||||
("cxx",): [
|
||||
"libhdf5_cpp",
|
||||
"libhdf5",
|
||||
],
|
||||
("fortran",): [
|
||||
"libhdf5_fortran",
|
||||
"libhdf5_f90cstub",
|
||||
"libhdf5",
|
||||
],
|
||||
("java",): [
|
||||
"libhdf5_java",
|
||||
"libhdf5",
|
||||
],
|
||||
("hl",): ["libhdf5_hl", "libhdf5"],
|
||||
("cxx", "fortran"): ["libhdf5_fortran", "libhdf5_f90cstub", "libhdf5_cpp", "libhdf5"],
|
||||
("cxx",): ["libhdf5_cpp", "libhdf5"],
|
||||
("fortran",): ["libhdf5_fortran", "libhdf5_f90cstub", "libhdf5"],
|
||||
("java",): ["libhdf5_java", "libhdf5"],
|
||||
}
|
||||
|
||||
# Turn the query into the appropriate key
|
||||
|
||||
@@ -88,16 +88,9 @@ def blas_libs(self):
|
||||
query_parameters = self.spec.last_query.extra_parameters
|
||||
query2libraries = {
|
||||
tuple(): ["libblas"],
|
||||
("c", "fortran"): [
|
||||
"libcblas",
|
||||
"libblas",
|
||||
],
|
||||
("c",): [
|
||||
"libcblas",
|
||||
],
|
||||
("fortran",): [
|
||||
"libblas",
|
||||
],
|
||||
("c", "fortran"): ["libcblas", "libblas"],
|
||||
("c",): ["libcblas"],
|
||||
("fortran",): ["libblas"],
|
||||
}
|
||||
key = tuple(sorted(query_parameters))
|
||||
libraries = query2libraries[key]
|
||||
|
||||
Reference in New Issue
Block a user