Commit Graph

926 Commits

Author SHA1 Message Date
kennethreitz 7dce6d6d1f Update README.rst 2017-05-29 15:10:28 -04:00
kennethreitz 6c8b068f51 Merge pull request #382 from kennethreitz/requirements.txt
requirements
2017-05-29 15:09:02 -04:00
kennethreitz 6aebf16041 empty commit 2017-05-29 15:08:13 -04:00
kennethreitz 1a77b5c778 this doesn't work on ci 2017-05-29 15:02:30 -04:00
kennethreitz c327bff413 pipfile 2017-05-29 15:00:20 -04:00
kennethreitz acca6c2a47 -e . 2017-05-29 14:56:59 -04:00
kennethreitz 2e92096717 remove mock twice 2017-05-29 14:50:03 -04:00
kennethreitz 89c3353ecc mock 2017-05-29 14:48:16 -04:00
kennethreitz b13c300a22 requirements 2017-05-29 14:45:10 -04:00
kennethreitz 620ef58cc6 Merge pull request #373 from nonylene/lazy-load-requirements
Import slow modules lazily
2017-05-25 14:26:57 -07:00
nonylene 21eb573231 import slow modules lazily
`parse_requirements` and `requirements` modules are used rarely but consume
much time for initialize.
2017-05-26 05:47:19 +09:00
Nate Prewitt 67e6e44c10 remove unneeded load of Pipfile 2017-05-25 13:54:34 -06:00
kennethreitz 3a7d81aefa Merge pull request #372 from edmorley/flake8
Add flake8 to the Travis run
2017-05-25 12:43:21 -07:00
Ed Morley 58a10908ab Add flake8 to the Travis run
flake8 would have caught the regression in #371 and output:
`pipenv/cli.py:257:19: F821 undefined name 'hashed_deps_path'`

Whilst in an ideal world there would be 100% test coverage, linters help
fill in the gaps, plus spot potential unused variable/imports cleanup.

I'm happy to disable more of the style/whitespace pep8 rules if
needed - the priority is having the pyflakes subset run in CI.
2017-05-25 20:40:33 +01: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
Ed Morley 0d7694819b Remove unused variables and imports
pipenv/cli.py:24:1: F401 '.utils.recase_file' imported but unused
pipenv/cli.py:466:5: F841 local variable 'p' is assigned to but never used
pipenv/utils.py:13:5: F401 'html.parser.HTMLParser' imported but unused
pipenv/utils.py:246:25: F841 local variable 'e' is assigned to but never used
tests/test_pipenv.py:9:1: F401 'pipenv.cli.which_pip' imported but unused
2017-05-25 20:24:03 +01:00
Nate Prewitt 8a0ac58250 v4.1.1 v4.1.1 2017-05-25 11:34:53 -06:00
Nate Prewitt 452764d972 remove references to hashed_deps_path 2017-05-25 11:33:02 -06:00
Nate Prewitt 1386facdf7 v4.1.0 v4.1.0 2017-05-25 10:27:10 -06:00
kennethreitz 9a35cfe900 Merge pull request #370 from kennethreitz/fixing_editing
Fixing editing
2017-05-25 09:16:13 -07:00
kennethreitz 1e8967e4d4 Merge branch 'master' into fixing_editing 2017-05-25 12:10:11 -04:00
Nate Prewitt 5b47579bb4 test normalized output in Pipfile.lock 2017-05-25 09:50:45 -06:00
Nate Prewitt ec02cca602 speed up proper_case using pypi warehouse JSON api 2017-05-21 23:40:17 -07:00
Nate Prewitt 71c24367b1 remove appdirs 2017-05-21 23:36:57 -07:00
kennethreitz 4bdf4394ff progress 2017-05-21 20:07:00 -07:00
Nate Prewitt ea22a84bd3 add capture for editable 2017-05-21 18:29:19 -07:00
Nate Prewitt e77f23a958 Merge pull request #367 from nonylene/insert-vendor-path
Use sys.path.insert(1, v_path) instead of sys.path.append(v_path)
2017-05-19 06:58:43 -07:00
nonylene 8d98a751a4 use sys.path.insert(1, v_path) instead of sys.path.append(v_path)
packages under vendor/ should be used than that installed by pip.
2017-05-19 14:21:02 +09:00
Nate Prewitt 41178eeec0 updating HISTORY 2017-05-17 14:35:45 -07:00
Nate Prewitt df9160c173 Merge pull request #364 from c17r/fix-extra-pinned-version
handle package[extra]==version properly
2017-05-17 14:34:21 -07:00
Christian Sauer d60b42d147 handle package[extra]==version properly
Previously doing `pipenv install "django-rest-auth[with_social]==0.8.2` would
lose the extra information and if you edited the Pipfile by hand to
```
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true

[packages.django-rest-auth]
version = "==0.8.2"
extras = [ "with_social",]
```

`pipenv update` would break with a malformed pip command.
2017-05-17 15:29:27 -04:00
kennethreitz 31b4133253 Merge branch 'master' of github.com:kennethreitz/pipenv 2017-05-17 09:56:11 -04:00
kennethreitz fd7725830c skip virtualenv instructions when --system is being used 2017-05-17 09:56:00 -04:00
Nate Prewitt fa02aa1724 v4.0.1 v4.0.1 2017-05-16 19:02:13 -06:00
Nate Prewitt b72f2e56b0 We no longer need to lock for every build 2017-05-16 18:38:36 -06:00
Nate Prewitt e04a7766a3 pin Sphinx to a 2.6 compatible version for now 2017-05-16 18:36:36 -06:00
kennethreitz 20682cdf5d Merge pull request #359 from girasquid/patch-1
Fix typo
2017-05-16 15:02:28 -04:00
Luke Hutscal 0c373ece2a Fix typo 2017-05-16 15:01:25 -04:00
kennethreitz c7b503fda3 Update README.rst 2017-05-16 12:06:15 -04:00
kennethreitz c3a059258a Update README.rst 2017-05-16 12:05:25 -04:00
kennethreitz 7d71ebf42e Update README.rst 2017-05-16 12:03:06 -04:00
kennethreitz 8753f94968 Update README.rst 2017-05-16 12:02:25 -04:00
kennethreitz 3fc1b79ab9 Update README.rst 2017-05-16 11:59:45 -04:00
kennethreitz 21c41f2c9b Update README.rst 2017-05-16 11:53:24 -04:00
kennethreitz 262ca84aab Update index.rst 2017-05-16 11:53:06 -04:00
kennethreitz 4a9fe82fa1 no longer experimental 2017-05-16 11:52:11 -04:00
kennethreitz 933e668d7f Update README.rst 2017-05-16 11:51:20 -04:00
kennethreitz 88f0ef8d11 Update README.rst 2017-05-16 11:50:57 -04:00
kennethreitz f8af61649f v4.0.0 v4.0.0 2017-05-16 11:47:39 -04:00
kennethreitz 78442d18e7 Merge pull request #351 from kennethreitz/no-hashes
No hashes, default
2017-05-16 11:42:35 -04:00