Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove typing.TYPE_CHECKING guards | Jon Dufresne | 2021-02-19 | 1 | -5/+2 |
| | | | | | | | | | | | The typing module has been available since Python 3.5. Guarding the import has been unnecessary since dropping Python 2. Some guards remain to either: - Avoid circular imports - Importing objects that are also guarded by typing.TYPE_CHECKING - Avoid mypy_extensions dependency | ||||
* | Replace pip._internal.utils.typing with stdlib typing | Jon Dufresne | 2021-02-18 | 1 | -2/+2 |
| | | | | | | | | The stdlib module has been available since Python 3.5 and the TYPE_CHECKING constant has been available since 3.5.2. By using stdlib, this removes the need for pip to maintain its own Python 2 typing compatibility shim. | ||||
* | Remove __future__ imports | Jon Dufresne | 2020-12-24 | 1 | -2/+0 |
| | | | | Unnecessary since dropping Python 2. | ||||
* | Update linter: isort | Pradyun Gedam | 2020-09-23 | 1 | -1/+1 |
| | |||||
* | fix(_internal/commands): Define a default add_option to child commands | gutsytechster | 2020-05-23 | 1 | -7/+7 |
| | |||||
* | refactor(commands): Add method add_options and remove __init__ | gutsytechster | 2020-05-23 | 1 | -8/+4 |
| | | | | | This removes the __init__ method of child classes and defines explicit method for adding command options. | ||||
* | Always return SUCCESS from commands.completion.run | Devesh Kumar Singh | 2020-05-15 | 1 | -2/+2 |
| | |||||
* | Remove Any type from run function | Devesh Kumar Singh | 2020-04-20 | 1 | -1/+1 |
| | |||||
* | Type annotations for completion and debug in commands | Devesh Kumar Singh | 2020-04-15 | 1 | -3/+10 |
| | |||||
* | 👹 Feed the hobgoblins (delint). | Jason R. Coombs | 2020-03-06 | 1 | -1/+2 |
| | |||||
* | Convert the remaining '%' formatters to '.format'. Fixes #6973. | Jason R. Coombs | 2020-03-06 | 1 | -13/+11 |
| | |||||
* | string_formatting | Deepak Sharma | 2020-01-30 | 1 | -1/+1 |
| | |||||
* | add per-file disallow_untyped_defs=False, and set it to True globally | Maxim Kurnikov | 2019-09-29 | 1 | -0/+3 |
| | |||||
* | Merge branch 'master' into maint/merge-5924 | Chris Hunt | 2019-08-06 | 1 | -2/+1 |
|\ | |||||
| * | Only import a Command class when it is actually needed. | Chris Jerdonek | 2019-07-26 | 1 | -2/+1 |
| | | | | | | | | | | This resulted in an approximate 24% speed-up of a vanilla `pip` invocation on one system (0.477 secs before, 0.363 secs after). | ||||
* | | pip autocompletion should silence of KeyboardInterrupts | Ani Hayrapetyan | 2018-10-26 | 1 | -2/+2 |
|/ | |||||
* | Rename basecommand -> base_command | Pradyun Gedam | 2018-07-30 | 1 | -1/+1 |
| | |||||
* | Move basecommand to pip._internal.cli | Pradyun Gedam | 2018-07-29 | 1 | -1/+1 |
| | |||||
* | Use correct executable name for completion command (#4755) | Dustin Ingram | 2017-10-12 | 1 | -6/+11 |
| | |||||
* | Move all internal APIs to pip._internal | Donald Stufft | 2017-08-31 | 1 | -0/+89 |