Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove typing.TYPE_CHECKING guards | Jon Dufresne | 2021-02-19 | 1 | -8/+8 |
| | | | | | | | | | | | 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. | ||||
* | Use f-strings for simple string formatting | Jon Dufresne | 2020-12-25 | 1 | -1/+1 |
| | | | | | | | Use pyupgrade to convert simple string formatting to use f-string syntax. pyupgrade is intentionally timid and will not create an f-string if it would make the expression longer or if the substitution parameters are anything but simple names or dotted names. | ||||
* | Prepare isort for black | Pradyun Gedam | 2020-09-23 | 1 | -5/+1 |
| | |||||
* | Update linter: isort | Pradyun Gedam | 2020-09-23 | 1 | -1/+1 |
| | |||||
* | Clean up code style changes | Pradyun Gedam | 2020-07-17 | 1 | -4/+7 |
| | | | | | | Toward minimizing style changes in the overall PR diff, or toward consistency with the future use of black (in cases where I wasn't sure of a good way to minimize the diff). | ||||
* | Enable flake8-logging-format | Nguyễn Gia Phong | 2020-07-17 | 1 | -3/+2 |
| | |||||
* | Nitpick logging calls | Nguyễn Gia Phong | 2020-07-17 | 1 | -4/+2 |
| | |||||
* | Align write_output types with logger.info | Devesh Kumar Singh | 2020-07-07 | 1 | -2/+2 |
| | |||||
* | Add type annotations for pip._internal.commands.configuration | Devesh Kumar Singh | 2020-07-07 | 1 | -14/+19 |
| | |||||
* | Add unit tests for pip config debug | Devesh Kumar Singh | 2020-06-28 | 1 | -2/+2 |
| | |||||
* | Add env and env var values | Devesh Kumar Singh | 2020-06-28 | 1 | -2/+17 |
| | |||||
* | Rename subcommand from list-files to debug | Devesh Kumar Singh | 2020-06-28 | 1 | -4/+4 |
| | |||||
* | List values per configuration file | Devesh Kumar Singh | 2020-06-28 | 1 | -5/+12 |
| | |||||
* | Add option to list config files with pip config | Devesh Kumar Singh | 2020-06-28 | 1 | -1/+15 |
| | |||||
* | Fix run type annotation in base_command and configuration | Devesh Kumar Singh | 2020-05-30 | 1 | -0/+6 |
| | |||||
* | Merge pull request #8073 from deveshks/pip-config-docstring-fix | Pradyun Gedam | 2020-05-23 | 1 | -6/+7 |
|\ | |||||
| * | Fix pip config docstring to render correctly in docs | Devesh Kumar Singh | 2020-04-18 | 1 | -6/+7 |
| | | |||||
* | | fix(_internal/commands): Define a default add_option to child commands | gutsytechster | 2020-05-23 | 1 | -6/+6 |
| | | |||||
* | | refactor(commands): Add method add_options and remove __init__ | gutsytechster | 2020-05-23 | 1 | -7/+10 |
|/ | | | | | This removes the __init__ method of child classes and defines explicit method for adding command options. | ||||
* | Better indentation for `pip config` description | Pradyun Gedam | 2020-03-14 | 1 | -5/+5 |
| | |||||
* | Remove the deprecated pip config --venv option (#7163) | Pradyun Gedam | 2019-10-09 | 1 | -28/+0 |
| | |||||
* | add per-file disallow_untyped_defs=False, and set it to True globally | Maxim Kurnikov | 2019-09-29 | 1 | -0/+3 |
| | |||||
* | Ignore "require_virtualenv" in `pip config` | Pradyun Gedam | 2019-09-07 | 1 | -0/+1 |
| | |||||
* | Address #6876: Make command output go through a single function (#6881) | A_Rog | 2019-08-22 | 1 | -3/+3 |
| | |||||
* | Only import a Command class when it is actually needed. | Chris Jerdonek | 2019-07-26 | 1 | -3/+0 |
| | | | | | This resulted in an approximate 24% speed-up of a vanilla `pip` invocation on one system (0.477 secs before, 0.363 secs after). | ||||
* | Change isort multi_line_output to 3 | Pradyun Gedam | 2019-07-22 | 1 | -1/+3 |
| | |||||
* | Move config files locations inside a function (#6736) | Xavier Fernandez | 2019-07-20 | 1 | -3/+7 |
| | |||||
* | Move virtualenv detection functions into their own module | Xavier Fernandez | 2019-07-19 | 1 | -1/+2 |
| | |||||
* | Configuration files may now also be stored under `sys.prefix` (#6268) | Steve Dower | 2019-03-07 | 1 | -17/+43 |
| | | | | | | | * Rename kinds.VENV to kinds.SITE and site_config_files to global_config_files * Add tests for config file options * Deprecate --venv in pip config | ||||
* | Move status_codes to pip._internal.cli | Pradyun Gedam | 2018-07-30 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | Correctly assign summary for pip config | Pradyun Gedam | 2018-03-20 | 1 | -13/+13 |
| | |||||
* | Move all internal APIs to pip._internal | Donald Stufft | 2017-08-31 | 1 | -0/+227 |