55# ScanCode is a trademark of nexB Inc.
66# SPDX-License-Identifier: Apache-2.0
77# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
8- # See https://github.com/nexB /skeleton for support or download.
8+ # See https://github.com/aboutcode-org /skeleton for support or download.
99# See https://aboutcode.org for more information about nexB OSS projects.
1010#
1111
5555 "-d" ,
5656 "--dest" ,
5757 "dest_dir" ,
58- type = click .Path (exists = True , readable = True , path_type = str , file_okay = False ),
58+ type = click .Path (exists = True , readable = True ,
59+ path_type = str , file_okay = False ),
5960 metavar = "DIR" ,
6061 default = utils_thirdparty .THIRDPARTY_DIR ,
6162 show_default = True ,
@@ -224,7 +225,8 @@ def fetch_thirdparty(
224225 environments = None
225226 if wheels :
226227 evts = itertools .product (python_versions , operating_systems )
227- environments = [utils_thirdparty .Environment .from_pyver_and_os (pyv , os ) for pyv , os in evts ]
228+ environments = [utils_thirdparty .Environment .from_pyver_and_os (
229+ pyv , os ) for pyv , os in evts ]
228230
229231 # Collect PyPI repos
230232 repos = []
@@ -260,13 +262,14 @@ def fetch_thirdparty(
260262 repos = repos ,
261263 )
262264 if not fetched :
263- wheels_or_sdist_not_found [f"{ name } =={ version } " ].append (environment )
265+ wheels_or_sdist_not_found [f"{ name } =={ version } " ].append (
266+ environment )
264267 if TRACE :
265268 print (f" NOT FOUND" )
266269
267270 if (sdists or
268271 (f"{ name } =={ version } " in wheels_or_sdist_not_found and name in sdist_only )
269- ):
272+ ):
270273 if TRACE :
271274 print (f" ==> Fetching sdist: { name } =={ version } " )
272275
@@ -289,7 +292,8 @@ def fetch_thirdparty(
289292 sdist_missing = sdists and "sdist" in dists and not name in wheel_only
290293 if sdist_missing :
291294 mia .append (f"SDist missing: { nv } { dists } " )
292- wheels_missing = wheels and any (d for d in dists if d != "sdist" ) and not name in sdist_only
295+ wheels_missing = wheels and any (
296+ d for d in dists if d != "sdist" ) and not name in sdist_only
293297 if wheels_missing :
294298 mia .append (f"Wheels missing: { nv } { dists } " )
295299
@@ -299,7 +303,8 @@ def fetch_thirdparty(
299303 raise Exception (mia )
300304
301305 print (f"==> FETCHING OR CREATING ABOUT AND LICENSE FILES" )
302- utils_thirdparty .fetch_abouts_and_licenses (dest_dir = dest_dir , use_cached_index = use_cached_index )
306+ utils_thirdparty .fetch_abouts_and_licenses (
307+ dest_dir = dest_dir , use_cached_index = use_cached_index )
303308 utils_thirdparty .clean_about_files (dest_dir = dest_dir )
304309
305310 # check for problems
0 commit comments