Pradyun Gedam
25ab172b55
Update linter: isort
2020-09-23 19:52:28 +05:30
Nguyễn Gia Phong
f8b06a3906
Enable flake8-logging-format
2020-07-17 14:33:19 +07:00
Devesh Kumar Singh
76257e4b65
Use module.__file__
2020-06-10 00:36:03 +05:30
Devesh Kumar Singh
d3f012cb3b
Fix argument type for ca_bundle_info
2020-06-10 00:36:03 +05:30
Devesh Kumar Singh
76a130105c
Fix src/pip with flake8-bugbear
2020-06-10 00:36:03 +05:30
gutsytechster
b82516c9ca
fix(_internal/commands): Define a default add_option to child commands
2020-05-23 14:55:37 +05:30
gutsytechster
72a42197a4
refactor(commands): Add method add_options and remove __init__
...
This removes the __init__ method of child classes and defines
explicit method for adding command options.
2020-05-23 14:50:57 +05:30
Pradyun Gedam
7e44950e72
Merge pull request #8051 from deveshks/add-mypy-annotations-comp-dbg
2020-05-15 18:45:42 +05:30
Devesh Kumar Singh
78c0a7192a
Change return type annotation for commands.debug.get_vendor_version_from_module
2020-05-15 16:55:58 +05:30
Devesh Kumar Singh
35ea5a6d5f
Remove Any type from run function
2020-04-20 03:19:43 +05:30
Pradyun Gedam
df9bbb403f
Fix bug in pip debug
2020-04-15 23:26:12 +05:30
Devesh Kumar Singh
ae8391b4b7
Type annotations for completion and debug in commands
2020-04-15 01:17:53 +05:30
Noah Gorny
e131c825d4
commands: debug: Add vendor library versions
2020-04-11 01:54:57 +03:00
Noah Gorny
972ef6f970
commands: debug: Print pip._vendor.DEBUNDLED info
2020-04-10 22:27:47 +03:00
Chris Hunt
80b2c82d0c
Use packaging.tags.Tag in place of Tuple
...
This is the standard type used by packaging.tags. Making this change
throughout the code lets us start switching over to using its
tag-generating functions in get_supported().
We also get rid of a test, since it was superseded by `__str__` in
packaging.tags.Tag.
2020-01-07 01:42:42 -05:00
Chris Hunt
1abf978e88
Move format_tag to pep425tags
...
This is a more appropriate place for the function, since it is more
related to tags than wheels, and will make it easier to refactor Wheel
into its own module.
2019-12-02 11:52:51 +08:00
Neil Botelho
144611ca1e
Show cert config value first
...
Move the cert config show_value statement to before the
REQUESTS_CA_BUNDLE statement. Removed lines used for testing.
2019-10-17 12:31:49 +05:30
Neil Botelho
e2a6fea7fa
Add CA cert info to debug, and corresponding tests
...
Added CA cert information to debug.py
Made the corresponding changes to tests/functional/test_debug.py
2019-10-15 14:54:34 +05:30
Maxim Kurnikov
3692097cca
add per-file disallow_untyped_defs=False, and set it to True globally
2019-09-29 23:31:15 +02:00
Chris Jerdonek
1f09e67f34
Only import a Command class when it is actually needed.
...
This resulted in an approximate 24% speed-up of a vanilla `pip`
invocation on one system (0.477 secs before, 0.363 secs after).
2019-07-26 23:30:26 -04:00
Chris Jerdonek
00665d11bb
Add some encoding return values to pip-debug.
2019-07-19 21:52:54 -04:00
Xavier Fernandez
ab10b8c328
debug: add warnings about its provisional status
2019-07-18 14:39:12 +02:00
Chris Jerdonek
d67acca760
Add "pip debug" command.
2019-06-27 03:18:42 -07:00