Commit Graph

28 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 b447f438df
Move path_to_url() to utils/urls.py (#7075) 2019-09-25 10:00:33 +05:30
Chris Jerdonek 0435316fde Move path_to_url() to utils/urls.py. 2019-09-24 02:01:52 -07:00
Chris Hunt 892b58f244 Move helper functions into Link 2019-09-22 00:08:10 -04:00
Pradyun Gedam ab6d550592
Remove link.is_artifact 2019-09-21 14:30:14 +05:30
Chris Hunt 59b0a79bde Add Link.file_path property 2019-09-19 20:14:10 -04:00
Chris Hunt 6a8b47d20b Move file type info to utils.filetypes. 2019-09-17 23:40:02 -04:00
Chris Jerdonek fe2509bd58 Move LinkCollector to a new collector.py module. 2019-09-14 02:54:07 -07:00
Albert Tugushev 3c9770d9b2 Redact single-part login credentials from URLs (#6921) 2019-08-26 15:50:07 -07:00
Stéphane Bidoul (ACSONE) 2e1dfbef76 consolidate vcs link detection 2019-08-16 08:14:33 +02:00
Pradyun Gedam 2e51624bbb
Merge pull request #6764 from pradyunsg/style/isort
Change isort multi_line_output to 3
2019-07-26 23:52:24 +05:30
Chris Jerdonek 0a1571ba03 Fix a NoneType AttributeError when evaluating hashes. 2019-07-23 05:22:59 -04:00
Pradyun Gedam 537b0fca12
Change isort multi_line_output to 3 2019-07-22 10:15:27 +05:30
Chris Jerdonek 190ea6a3d4 Remove strict_optional=False for models/link.py. 2019-07-14 23:08:55 -07:00
Chris Jerdonek e85a848ec8 Add Link.is_hash_allowed(). 2019-07-11 01:34:46 -07:00
Chris Jerdonek d3b3f16871 Support yanked reasons with non-ascii characters. 2019-06-27 22:53:58 -07:00
Chris Jerdonek fdde0b483e Add Link.yanked_reason. 2019-06-25 03:34:38 -07:00
Xavier Fernandez 1638b06627 models.link: use named attribute 2019-06-24 14:24:23 +02:00
Chris Jerdonek 0ed518f0dc Fix an edge case where Link.filename can leak auth information. 2019-06-22 16:44:13 -07:00
Chris Jerdonek 0e741ef9bf Parse the url when creating a Link object. 2019-06-22 16:44:07 -07:00
Chris Jerdonek 99228e503a Import path_to_url() from utils/misc.py instead of download.py. 2019-06-03 02:31:40 -07:00
Maxim Kurnikov c4dfdbe265 remove unused imports 2019-02-22 14:18:46 +03:00
Maxim Kurnikov f77b8ca051 remove #noqa: F401 2019-02-22 14:17:07 +03:00
Maxim Kurnikov 410072bc8b add type annotations for pip._internal.models (#6065) 2018-12-17 16:42:36 +05:30
Pradyun Gedam fc62b5b677
Move wheel extension information to remove cycle imports 2018-11-30 12:46:08 +05:30
Tom Forbes 78371cc950 Redact basic authentication passwords from log messages (#5773)
Redact basic authentication passwords from URLs.
2018-10-19 02:06:10 -07:00
Pradyun Gedam 06314455e9
Add a utility for comparision logic and switch to it
It uses the operator module, instead of inline-lambdas
2018-06-24 02:38:22 +05:30
Pradyun Gedam 39995b32db
Move Link to models 2018-06-24 02:38:21 +05:30