pip/src/pip/_internal/utils
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 Move all internal APIs to pip._internal 2017-08-31 14:53:00 -04:00
_jaraco_text.py Update vendored `pkg_resources` 2023-02-04 21:18:10 +00:00
_log.py use setLoggerClass to define log.verbose 2021-06-11 11:59:51 +02:00
appdirs.py Rework MacOS configuration paths, to match documentation 2021-10-17 15:07:58 +01:00
compat.py Complete the annotations: `pip/_internal/utils` (#10159) 2021-07-23 17:00:30 +08:00
compatibility_tags.py Remove unnecessary TYPE_CHECKING guards around packaging imports 2021-09-26 10:42:38 -07:00
datetime.py Complete the annotations: `pip/_internal/utils` (#10159) 2021-07-23 17:00:30 +08:00
deprecation.py Remove setup.py install legacy 2023-03-31 09:47:09 +02:00
direct_url_helpers.py Add PEP 660 support (build_editable) 2021-09-28 23:04:51 +02:00
egg_link.py Enable strict optionals in egg_link code 2023-01-17 10:07:13 +08:00
encoding.py Update pre-commit hooks 2022-04-04 16:02:02 +03:00
entrypoints.py Check if binary_executable exists 2022-07-28 07:36:02 +03:00
filesystem.py Replace Iterator[T] with Generator[T,None, None] (#11007) 2022-04-09 16:11:58 +01:00
filetypes.py Move many type comments to annotations 2021-08-10 07:12:32 -07:00
glibc.py nope 2023-06-20 02:04:36 -07:00
hashes.py Add function to check hashes against known digests 2023-04-14 08:03:48 +02:00
logging.py Rework how the logging stack handles rich objects 2023-10-01 12:24:10 +01:00
misc.py Update and provide fixes for mypy pre-commit (#12389) 2023-11-07 09:39:01 +00:00
models.py Move all remaining type comments to annotations 2021-08-27 19:02:57 -07:00
packaging.py Revert "Filter available distributions using hash declarations from constraints files (#10962)" 2022-05-03 17:50:21 +01:00
setuptools_build.py Remove setup.py install legacy 2023-03-31 09:47:09 +02:00
subprocess.py Rework how the logging stack handles rich objects 2023-10-01 12:24:10 +01:00
temp_dir.py Enable mypy's strict equality checks (#12209) 2023-09-23 17:10:13 +01:00
unpacking.py Update pre-commit hooks 2022-04-04 16:02:02 +03:00
urls.py Move many type comments to annotations 2021-08-10 07:12:32 -07:00
virtualenv.py Name virtualenv<20 as "legacy" 2022-10-28 01:51:13 +08:00
wheel.py Enforce f-strings via Ruff (#12393) 2023-11-07 09:14:56 +00:00