pip/src/pip/_internal/network
Damian Shaw 2a0acb595c
Update and provide fixes for mypy pre-commit (#12389)
* Update mypy to 1.6.1

* Fix mypy "Source file found twice under different module names" error

* Ignore type of intialized abstract class in tests

* Use more specific type ignore method-assign

* Type ignore for message.get_all

* Remove unused type ignore

* Add SizedBuffer type for xmlrpc.client.Transport subclass

* Add Self type for RequestHandlerClass in test

* Add type ignore for shutil.rmtree onexc handler

* Quote SizedBuffer

* Add news entry

* Remove no longer correct comment

* Update self import

* Also ignore type onerror=handler

* Update news entry

* Update news entry
2023-11-07 09:39:01 +00:00
..
__init__.py Add documentation string to pip._internal.network.auth 2019-09-20 19:46:40 -04:00
auth.py Fix new lint errors 2023-06-05 14:32:44 +01:00
cache.py Fix parallel pip cache downloads causing crash (#12364) 2023-10-18 23:14:22 +01:00
download.py Enforce f-strings via Ruff (#12393) 2023-11-07 09:14:56 +00:00
lazy_wheel.py Replace deprecated BadZipfile with BadZipFile 2023-03-12 18:55:38 +02:00
session.py Use strict optional checking in misc.py (#11382) 2023-07-17 10:40:25 +01:00
utils.py Replace Iterator[T] with Generator[T,None, None] (#11007) 2022-04-09 16:11:58 +01:00
xmlrpc.py Update and provide fixes for mypy pre-commit (#12389) 2023-11-07 09:39:01 +00:00