Commit Graph

14 Commits

Author SHA1 Message Date
Maxim Kurnikov 3692097cca add per-file disallow_untyped_defs=False, and set it to True globally 2019-09-29 23:31:15 +02:00
A_Rog 70027b2f50 Address #6876: Make command output go through a single function (#6881) 2019-08-22 17:29:22 -07: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
Pradyun Gedam 537b0fca12
Change isort multi_line_output to 3 2019-07-22 10:15:27 +05:30
Thomas Kluyver 9a1194e4be Exit 'pip check' with code 1 on problems parsing requirements 2018-10-02 12:38:16 +02:00
Pradyun Gedam 21d9825efd
Rename basecommand -> base_command 2018-07-30 09:32:47 +05:30
Pradyun Gedam 8d45e0e647
Move basecommand to pip._internal.cli 2018-07-29 18:26:28 +05:30
Pradyun Gedam 54722aa7ec
Remove unused imports 2018-06-13 13:17:30 +05:30
Pradyun Gedam 1c911bfbdd
🎨 Make the linters happy again 2018-01-26 11:06:16 +05:30
Pradyun Gedam a33846b627
Use namedtuple attributes 2018-01-24 18:08:46 +05:30
Pradyun Gedam 0fa2736090
Improve operations.check
- Move get_installed_distributions call into operations.check
- Use a named tuple, instead of a normal tuple
2018-01-24 18:08:39 +05:30
Pradyun Gedam 09f0941ed4
Rework pip check to not use Distribution objects
While there is no change in functionality, this change makes it
possible to reuse the pip check logic by uncoupling it from the
Distribution objects.
2018-01-24 17:45:06 +05:30
Pradyun Gedam 729990c986
Round 1 of Cleanups (#4844)
* misc: fix typo
* misc: 🎨 cleanup parenthesis
* misc: 🎨 minor simplifications
* tests: fix test_console_to_str_warning
2017-12-25 15:23:27 +05:30
Donald Stufft 95bcf8c5f6 Move all internal APIs to pip._internal 2017-08-31 14:53:00 -04:00
Renamed from pip/commands/check.py (Browse further)