pip/tests/unit
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
..
metadata Update and provide fixes for mypy pre-commit (#12389) 2023-11-07 09:39:01 +00:00
resolution_resolvelib Update tests/unit/resolution_resolvelib/test_requirement.py 2023-09-08 16:32:42 +02:00
__init__.py break up tests dir into data, unit tests, and functional tests 2013-05-29 13:41:12 -07:00
test_appdirs.py Work around platformdirs.windows 2021-11-22 17:51:07 +08:00
test_base_command.py Update and provide fixes for mypy pre-commit (#12389) 2023-11-07 09:39:01 +00:00
test_cache.py Remove now unused FormatControl in WheelCache 2023-03-29 08:41:09 +02:00
test_cmdoptions.py Get rid of the --python python/py shortcuts 2022-08-01 10:54:20 +01:00
test_collector.py Enforce f-strings via Ruff (#12393) 2023-11-07 09:14:56 +00:00
test_command_install.py Remove support for the deprecated --install-options 2023-03-18 11:20:51 +01:00
test_commands.py Complete type annotations of tests/unit/ directory 2021-09-23 05:44:54 -07:00
test_compat.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_configuration.py Update and provide fixes for mypy pre-commit (#12389) 2023-11-07 09:39:01 +00:00
test_direct_url.py Improve conversion of direct_url.hash to hashes 2023-04-11 14:49:30 +02:00
test_direct_url_helpers.py Allow multiple hashes in direct_url.json 2023-01-28 13:25:38 +01:00
test_exceptions.py Fall back to non-localized message on Windows 2023-01-03 08:13:13 +08:00
test_finder.py Fix issues raised in code review 2023-08-28 15:04:54 +02:00
test_format_control.py Complete type annotations of tests/unit/ directory 2021-09-23 05:44:54 -07:00
test_index.py Respect --no-index from the requirements file 2022-07-20 15:55:17 +02:00
test_link.py Enforce f-strings via Ruff (#12393) 2023-11-07 09:14:56 +00:00
test_locations.py Replace deprecated setup/teardown usage 2023-01-27 22:00:50 +03:00
test_logging.py Ruff rules C4,C90,PERF 2023-08-28 14:51:13 +02:00
test_models.py Complete type annotations of tests/unit/ directory 2021-09-23 05:44:54 -07:00
test_models_wheel.py Remove stale xfail on macOS tag generation 2021-09-30 15:30:42 +08:00
test_network_auth.py Enable mypy's strict equality checks (#12209) 2023-09-23 17:10:13 +01:00
test_network_cache.py Fix parallel pip cache downloads causing crash (#12364) 2023-10-18 23:14:22 +01:00
test_network_download.py Complete type annotations of tests/unit/ directory 2021-09-23 05:44:54 -07:00
test_network_lazy_wheel.py make linters happy 2021-10-23 17:42:22 +02:00
test_network_session.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_network_utils.py Enforce f-strings via Ruff (#12393) 2023-11-07 09:14:56 +00:00
test_operations_prepare.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_options.py Enable mypy's strict equality checks (#12209) 2023-09-23 17:10:13 +01:00
test_packaging.py Apply suggestions from code review 2021-10-08 07:27:38 -04:00
test_pep517.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_pyproject_config.py Support passing the same key multiple times in --config-settings (#11853) 2023-03-17 21:23:19 +00:00
test_req.py Enforce f-strings via Ruff (#12393) 2023-11-07 09:14:56 +00:00
test_req_file.py Enforce f-strings via Ruff (#12393) 2023-11-07 09:14:56 +00:00
test_req_install.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_req_uninstall.py Ruff rules C4,C90,PERF 2023-08-28 14:51:13 +02:00
test_resolution_legacy_resolver.py Update and provide fixes for mypy pre-commit (#12389) 2023-11-07 09:39:01 +00:00
test_search_scope.py Respect --no-index from the requirements file 2022-07-20 15:55:17 +02:00
test_self_check_outdated.py Merge branch 'main' into ruff-rules-C4-and-PERF 2023-09-02 00:13:31 +02:00
test_target_python.py Enable mypy's strict equality checks (#12209) 2023-09-23 17:10:13 +01:00
test_urls.py Complete type annotations of tests/unit/ directory 2021-09-23 05:44:54 -07:00
test_utils.py Redact URLs in Collecting... logs 2023-10-14 14:02:55 +02:00
test_utils_compatibility_tags.py Complete type annotations of tests/unit/ directory 2021-09-23 05:44:54 -07:00
test_utils_filesystem.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_utils_subprocess.py Rework how the logging stack handles rich objects 2023-10-01 12:24:10 +01:00
test_utils_temp_dir.py Ignore errors in temporary directory cleanup 2023-07-17 15:15:41 +02:00
test_utils_unpacking.py Replace deprecated setup/teardown usage 2023-01-27 22:00:50 +03:00
test_utils_virtualenv.py Name virtualenv<20 as "legacy" 2022-10-28 01:51:13 +08:00
test_utils_wheel.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_vcs.py Fix hg: "parse error at 0: not a prefix:" (#12373) 2023-10-27 11:08:17 +02:00
test_vcs_mercurial.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_wheel.py Enforce f-strings via Ruff (#12393) 2023-11-07 09:14:56 +00:00
test_wheel_builder.py Always use pep 517 when the 'wheel' package is absent 2023-03-27 11:55:20 +01:00