Commit Graph

20 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 2ff13e4340
Use a loop instead of multiple similar conditionals 2019-05-27 13:57:38 -04:00
Pradyun Gedam bf728499be
🎨 2019-05-27 13:57:37 -04:00
Pradyun Gedam 2e77720446
Mention gone_in version in deprecation messages 2019-05-25 21:52:15 -04:00
Chris Jerdonek 8d78ff0fce Prefix warning and error log messages. 2019-02-27 03:22:26 -08:00
Maxim Kurnikov f77b8ca051 remove #noqa: F401 2019-02-22 14:17:07 +03:00
Maxim Kurnikov 5e5904e61c Add type annotations for pip._internal.utils and pip._internal.vcs.__init__ (#6061) 2018-12-08 08:47:24 +05:30
Pradyun Gedam 28f183e1a2
Document parameters of the deprecated helper 2018-07-15 17:15:35 +05:30
Pradyun Gedam 3e0e45ba61
Nicer language in line with parameter name 2018-07-15 17:15:35 +05:30
Pradyun Gedam e027cd8449
Update deprecation utilities to specify versions
Also:
- Remove conditional warning/error level logging
- Remove now-obsolete class
- Update call sites as per new signature
2018-07-15 17:15:31 +05:30
Pradyun Gedam 4c2b268d52
Add "DEPRECATION" to start of message when composing it 2018-07-15 17:02:12 +05:30
Pradyun Gedam a1912454b8
Rename variable for clarity
It doesn't represent warnings.showwarning's current state so,
the name shouldn't suggest that.
2018-07-15 17:02:12 +05:30
Pradyun Gedam a8eaf1e0ff
Add a helper function for deprecation (and use it) 2018-07-15 17:02:03 +05:30
Pradyun Gedam 7769ddd52c
Rename deprecation warnings to not be versioned 2018-07-15 16:59:37 +05:30
Pradyun Gedam 803286000d
Remove no longer valid deprecation warning 2018-06-21 23:52:40 +05:30
Pradyun Gedam a121abbc30
Add flake8 ignores for mypy imports 2018-06-13 13:17:30 +05:30
Pradyun S. Gedam e2b2f70ebb isort all imports 2017-09-02 17:02:48 +05:30
Pradyun S. Gedam d40881894e Add imports I'd missed 2017-09-02 16:10: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/utils/deprecation.py (Browse further)