Commit Graph

24 Commits

Author SHA1 Message Date
Frost Ming a8f52eb0a6 determin virtualenv location on the run
Signed-off-by: Frost Ming <mianghong@gmail.com>
2018-11-17 17:51:26 +08:00
Frost Ming 748d22b2f2 virtualenv fixture and a test case
Signed-off-by: Frost Ming <mianghong@gmail.com>
2018-11-17 13:08:12 +08:00
Frost Ming ff8d17f383 switch to pathlib tmpdir
Signed-off-by: Frost Ming <mianghong@gmail.com>
2018-11-17 08:59:06 +08:00
Frost Ming 483621f478 recognize editable packages as in project
Signed-off-by: Frost Ming <mianghong@gmail.com>
2018-11-17 00:10:46 +08:00
frostming e147dc3ade Drops prettytoml/contoml form vendors 2018-11-08 10:57:20 +08:00
frostming 3eba19d359 Improve toml parsing 2018-11-08 10:22:26 +08:00
Dan Ryan 7227c9b2c9 Fix pip compat imports for piptools
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-17 18:51:53 -04:00
Dan Ryan 8abb764ce8 Update pypi urls
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-17 14:43:09 -04:00
Dan Ryan da29453b62 Allow the use of many sources instead of just 2
- Fixes #2130

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-05 23:18:09 -04:00
Kyle Altendorf e4270dc292 Merge remote-tracking branch 'upstream/1847-newlines' into 1847-newlines 2018-05-03 12:20:59 -07:00
Tzu-ping Chung 116ce7191d Better test errors and remove useless newline='' 2018-05-04 02:39:53 +08:00
Dan Ryan d26e16a539 Read in universal newline mode
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-03 12:08:59 -04:00
Dan Ryan a075445367 Updated versions
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-03 11:59:55 -04:00
Kyle Altendorf ab63176851 Add message to newline assertions
Compensating for https://github.com/pytest-dev/pytest/issues/3443
2018-05-03 08:45:44 -07:00
Kyle Altendorf 536d6febc3 Revert "Update newline tests"
This reverts commit 18704a5e21.
2018-05-03 08:38:33 -07:00
Kyle Altendorf 8a25696528 Revert "Update newline check"
This reverts commit 415566f5d6.
2018-05-03 08:38:25 -07:00
Dan Ryan 5718ae8f42 Fix newline tests for windows
- Adjust for proper parameterization

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-03 03:27:45 -04:00
Dan Ryan 415566f5d6 Update newline check
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-02 22:40:38 -04:00
Dan Ryan 18704a5e21 Update newline tests 2018-05-02 20:49:52 -04:00
Kyle Altendorf 6d2e208aae Default to \n, retain consistent \r\n
When writing the Pipfile and Pipfile.lock make an effort to retain
their existing newlines if consistent.  Default to \n (LF) for new
files and files with inconsistent line endings.
2018-04-26 15:50:43 -04:00
Dan Ryan 3722d8a8cf Add pipfile env var expansion and test
- Fixes #1906

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-17 17:24:39 -04:00
Dan Ryan 31a4a75c98 Sort items before comparison
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-17 01:52:16 -04:00
Dan Ryan 7a8d01edc3 Fix tests and index url fetching code per requests
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-17 01:16:49 -04:00
Dan Ryan f93b9f2428 Add tests for project source changes
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-16 23:15:04 -04:00