Commit Graph

29 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
Pradyun Gedam 9332803089
Merge pull request #6729 from asottile/3_10_fixes
sys.version fixes for python 3.10
2019-08-18 09:27:09 +09:00
Pradyun Gedam f377148f6d
Use mypy's inline configuration syntax for opt-outs 2019-07-30 12:39:51 +05:30
Chris Jerdonek 6f638eb591 Add get_major_minor_version(). 2019-07-27 20:01:52 -07:00
Anthony Sottile c3fb5cbff0 sys.version fixes for python 3.10 2019-07-27 19:59:18 -07:00
Xavier Fernandez 645809944c
Move config files locations inside a function (#6736) 2019-07-20 22:29:24 +02:00
Xavier Fernandez 4cf08e85c0 Isolate src_prefix computation in a function 2019-07-19 12:08:33 +02:00
Xavier Fernandez 8342a0e463 Remove obsolete comment
It should have been removed in 7288475118
2019-07-19 12:08:33 +02:00
Xavier Fernandez fc618bf3b1 Move virtualenv detection functions into their own module 2019-07-19 10:03:22 +02:00
Xavier Fernandez 34092d3234 Move pip marker related constant & function in their own module
It didn't seem related with the rest of the locations module
2019-07-18 22:53:05 +02:00
Pradyun Gedam 287aa4b7bf
Merge pull request #6008 from jaraco/bugfix/4106-distutils-option-error-target-prefix-conflict
Prevent distutils option error target prefix conflict
2019-05-25 13:29:49 -04:00
Steve Dower 293c91ee8a Configuration files may now also be stored under `sys.prefix` (#6268)
* 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
2019-03-07 11:14:56 +05:30
Maxim Kurnikov f77b8ca051 remove #noqa: F401 2019-02-22 14:17:07 +03:00
Pradyun Gedam 22fe45d462
Fix new issues found in mypy 0.620 -> 0.650 2018-12-18 11:20:14 +05:30
Jason R. Coombs 65c38650f6 Extend sanity check on user+prefix to include similar check for home+prefix. Ref #4106. 2018-11-12 11:09:56 -05:00
Benoit Pierre e6bc873698 Prevent DistutilsOptionError when prefix is indicated in the global environment and --target is used. Fixes #4106. 2018-11-12 11:06:34 -05:00
Pradyun Gedam bfc54bc84d
Satisfy the linter 2018-10-31 01:47:12 +05:30
Erdinc Mutlu 11f7fba714 flake8 issue fixed 2018-10-28 16:42:24 +00:00
Erdinc Mutlu ee38a8f028 Fixed Travis issues with my commit 2018-10-28 15:08:21 +00:00
Erdinc Mutlu 1429f14184 Minor change according to review and comment for typeshed issue reported 2018-10-28 14:12:45 +00:00
Erdinc Mutlu 613dc33656 added remaining mypy annotation to pip._internal.locations 2018-10-28 12:16:20 +00:00
Erdinc Mutlu 25cb31ab10 added mypy annotation to pip._internal.locations 2018-10-27 14:34:20 +01:00
Pradyun Gedam 4fc697847a
Update imports for the moved compat module 2018-07-29 18:32:20 +05:30
Pradyun Gedam cc33877126
I missed an import 2018-06-13 13:17:31 +05:30
Pradyun Gedam 54722aa7ec
Remove unused imports 2018-06-13 13:17:30 +05:30
Anthony Sottile 9762eb02e3 Upgrade syntax in src/pip/_internal
Changes were automated via https://github.com/asottile/pyupgrade

See #4921
2017-12-14 21:59:22 -08:00
Pradyun S. Gedam e2b2f70ebb isort all imports 2017-09-02 17:02:48 +05:30
Pradyun S. Gedam 11451c54ec Merge branch 'master' into mypy/infrastructure 2017-09-02 16:06:48 +05:30
Donald Stufft 95bcf8c5f6 Move all internal APIs to pip._internal 2017-08-31 14:53:00 -04:00
Renamed from pip/locations.py (Browse further)