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:
Adam J. Stewart
2023-02-16 22:06:12 -07:00
committed by GitHub
parent b935809948
commit 603569e321
510 changed files with 864 additions and 3856 deletions

View File

@@ -611,17 +611,9 @@ def cmake_args(self):
# As a final step, collect CXX flags that may have been
# added anywhere above:
if len(cxx_flags_release) > 0 and "+optflags" in spec:
options.extend(
[
self.define("CMAKE_CXX_FLAGS_RELEASE", " ".join(cxx_flags_release)),
]
)
options.extend([self.define("CMAKE_CXX_FLAGS_RELEASE", " ".join(cxx_flags_release))])
if len(cxx_flags) > 0:
options.extend(
[
self.define("CMAKE_CXX_FLAGS", " ".join(cxx_flags)),
]
)
options.extend([self.define("CMAKE_CXX_FLAGS", " ".join(cxx_flags))])
# Add flags for machine vectorization, used when tutorials
# and user code is built.