# HG changeset patch # User Pierre-Yves David # Date 1703017669 -3600 # Node ID 03fc41fe8aa1b01faca4785cc15bc55100c62295 # Parent 9c5bd485fbb66e4feee49280eeb8d66a840e319c pytype: ignore certifi import error This is an optional import so we should not complains about it. diff -r 9c5bd485fbb6 -r 03fc41fe8aa1 mercurial/sslutil.py --- a/mercurial/sslutil.py Tue Dec 19 21:26:30 2023 +0100 +++ b/mercurial/sslutil.py Tue Dec 19 21:27:49 2023 +0100 @@ -787,7 +787,7 @@ # The "certifi" Python package provides certificates. If it is installed # and usable, assume the user intends it to be used and use it. try: - import certifi + import certifi # pytype: disable=import-error certs = certifi.where() if os.path.exists(certs):