diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2023-02-16 22:06:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-16 23:06:12 -0600 |
commit | 603569e321013a1a63a637813c94c2834d0a0023 (patch) | |
tree | 366d3ba04458bb748c1f494e270401a56c10a7f2 /var/spack/repos/builtin/packages/curl/package.py | |
parent | b9358099488b6c9851e28ca912c8be246178974a (diff) | |
download | spack-603569e321013a1a63a637813c94c2834d0a0023.tar.gz spack-603569e321013a1a63a637813c94c2834d0a0023.tar.bz2 spack-603569e321013a1a63a637813c94c2834d0a0023.tar.xz spack-603569e321013a1a63a637813c94c2834d0a0023.zip |
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
Diffstat (limited to 'var/spack/repos/builtin/packages/curl/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/curl/package.py | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/var/spack/repos/builtin/packages/curl/package.py b/var/spack/repos/builtin/packages/curl/package.py index 64b1d47f14..aae1ab74ad 100644 --- a/var/spack/repos/builtin/packages/curl/package.py +++ b/var/spack/repos/builtin/packages/curl/package.py @@ -130,11 +130,7 @@ class Curl(NMakePackage, AutotoolsPackage): # https://github.com/curl/curl/pull/9054 patch("easy-lock-sched-header.patch", when="@7.84.0") - build_system( - "autotools", - conditional("nmake", when="platform=windows"), - default="autotools", - ) + build_system("autotools", conditional("nmake", when="platform=windows"), default="autotools") @classmethod def determine_version(cls, exe): @@ -189,13 +185,7 @@ class AutotoolsBuilder(AutotoolsBuilder): # Make gnutls / openssl decide what certs are trusted. # TODO: certs for other tls options. if spec.satisfies("tls=gnutls") or spec.satisfies("tls=openssl"): - args.extend( - [ - "--without-ca-bundle", - "--without-ca-path", - "--with-ca-fallback", - ] - ) + args.extend(["--without-ca-bundle", "--without-ca-path", "--with-ca-fallback"]) # https://daniel.haxx.se/blog/2021/06/07/bye-bye-metalink-in-curl/ # We always disable it explicitly, but the flag is gone in newer |