Commit Graph

20 Commits

Author SHA1 Message Date
Nate Prewitt ad4fd824bf Revert "Fix #973 Fails if two conflicting "requires" sections are present." 2017-10-25 14:54:18 -07:00
Miroslav Zoricak b3093368a9 Fix #973 Fails if two conflicting "requires" sections are present.
Add a more explicit error message if a section of the Pipfile is duplicated
2017-10-25 21:49:13 +02:00
Erin O'Connell 5a297c094b more flake 8 2017-10-03 23:29:11 -06:00
Erin O'Connell 20718582a1 Removed a problematic test, that'll show the rest of them
Signed-off-by: Erin O'Connell <erinocon5@gmail.com>
2017-09-22 23:26:27 -06:00
kennethreitz a95f0b166c actually fix the thing 2017-09-21 13:16:40 -04:00
kennethreitz 73b862016c use vendored delegator
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-20 12:39:04 -04:00
kennethreitz 200e73a321 try this
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-14 20:56:39 -04:00
kennethreitz 7a89f15f1b fix broken test
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-07 21:16:51 -04:00
Nate Prewitt 17edfbc214 remove unused hash variable and name checking from tests 2017-05-30 13:45:20 -06:00
kennethreitz 6c8b068f51 Merge pull request #382 from kennethreitz/requirements.txt
requirements
2017-05-29 15:09:02 -04:00
kennethreitz 1a77b5c778 this doesn't work on ci 2017-05-29 15:02:30 -04:00
Ed Morley c5e7ac933d Whitespace cleanup for flake8
pipenv/cli.py:264:1: W293 blank line contains whitespace
pipenv/cli.py:546:1: E302 expected 2 blank lines, found 1
pipenv/environments.py:31:25: W292 no newline at end of file
pipenv/progress.py:171:23: W292 no newline at end of file
pipenv/utils.py:20:1: E302 expected 2 blank lines, found 1
pipenv/utils.py:206:6: E114 indentation is not a multiple of four (comment)
tests/test_project.py:8:1: E302 expected 2 blank lines, found 1
tests/test_utils.py:7:1: E302 expected 2 blank lines, found 1
tests/test_utils.py:75:5: E303 too many blank lines (2)
tests/test_utils.py:113:5: E303 too many blank lines (2)
tests/test_utils.py:124:5: E303 too many blank lines (2)
tests/test_utils.py:135:5: E303 too many blank lines (2)
2017-05-25 20:24:52 +01:00
Nate Prewitt c37a0143f3 test internal pipfile/lock representations and new utils 2017-02-28 11:16:14 -07:00
Nate Prewitt 653110c836 test case normalization on add/remove from Pipfile 2017-02-25 09:06:04 -07:00
Hyeon Kim a81197d6bf Change the naming scheme of virtualenv
New property has been added as discussed as
https://github.com/kennethreitz/pipenv/pull/238#discussion_r102049269

    project.virtualenv_name

It'll be '<sanitized-name>-<hash>' where <sanitized-name> is a project
name without whitespaces, and hash is base64-encoded sha256 of pipfile
location.

For example, if the pipfile was located at '/home/user/MY_PROJECT/Pipfile',
the 'virtualenv_name' will be 'my-project-wyUfYPqE'.

Closes #228

References:
  https://github.com/kennethreitz/pipenv/issues/228
  https://github.com/kennethreitz/pipenv/pull/238
2017-02-21 14:03:44 +09:00
Nate Prewitt 4f9d27aba6 removing unneeded pew test 2017-02-11 15:34:40 -07:00
Nate Prewitt 547a084d3b test adding and removing packages from Pipfile 2017-02-10 11:54:07 -07:00
Nate Prewitt faeb5f1329 caching pipfile_location and testing 2017-02-10 09:22:25 -07:00
Nate Prewitt 1126d79311 more tests 2017-02-09 09:05:18 -07:00
Nate Prewitt e5f1b61f8c initial testing work 2017-02-02 16:57:14 -07:00