Commit Graph

240 Commits

Author SHA1 Message Date
Matt Davis 9a3b3ce706 Issue 4993 Add standard pre commit hooks and apply linting. (#4994)
* Add .pre-commit-config.yaml to the project and exclude tests (for now).  This does not include the MyPy linting that pip does but does include everything else.
2022-03-29 23:01:50 -04:00
Matt Davis 79389f0031 Remove mention of the --two flag and python2 2022-03-12 03:07:48 -05:00
Denis Sazonov 41e174898c docs update for cli verify command 2022-01-12 09:57:22 +00:00
Frost Ming 1524315baf make the doc more accurate
close #4856
2021-11-11 17:23:13 +08:00
Frost Ming 57d6ce2646 Replace click-completion with click's own completion code 2021-11-09 11:14:42 +08:00
Frost Ming a95ed5281f Update the section in document 2020-11-13 11:38:41 +08:00
Frost Ming 72b571bd06 Change multiple styles in CLI output 2020-11-02 11:11:54 +08:00
Glen Smith 6897ebffa3 Add documentation of new scripts command. 2020-09-08 08:41:48 -06:00
Dan Ryan 46f3e5162c Merge branch 'master' into issue-3316-lock-all-deps-with-dev 2020-05-06 21:50:56 -04:00
Dan Ryan 2f460a9128 Add sphinx spellcheck addon (#4209)
Co-Authored-By: Frost Ming <mianghong@gmail.com>
Co-Authored-By: Sumana Harihareswara <sh@changeset.nyc>
2020-04-29 02:39:06 -04:00
Dan Ryan a68166af55 Reword note about pyup
Reword `pipenv check` note in docs

Co-Authored-By: Sumana Harihareswara <sh@changeset.nyc>
2020-04-28 12:19:19 -04:00
Dan Ryan 42321376c9 Update documentation to reflect accurate pyup use
- Remove bits about CC-BY-SA licensing
- Remove bits about using an embedded API key
- Add a little flair to the readme to acknowledge pyup

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-26 02:50:40 -04:00
Nick Coghlan 1e54399de7 Default dependencies, not production dependencies 2020-04-10 15:58:38 +10:00
Nick Coghlan 592cbe54a1 Issue #3316: Include all deps in 'pipenv lock -r --dev'
* Implements PEEP-006
* `pipenv lock -r --dev` is now consistent with other commands
  and the CLI help output, and includes both default and dev
  dependencies in the result
* New `--dev-only` option allows requesting the previous behaviour
  (which was specifically designed to support the traditional
  `requirements.txt`/`dev-requirements.txt` split)
2020-04-10 15:51:58 +10:00
Frost Ming a883ef5159 Merge pull request #4100 from timhughes/dotenv_docs
Dotenv docs
2020-03-26 10:59:48 +08:00
Sumana Harihareswara 603a20bf45 Update links in documentation
The canonical Pipenv documentation is now at pipenv.pypa.io.
Also, the canonical GitHub repositories for Pipenv and
Requests have changed, and some other communications links
(Twitter, mailing list, "thank you") were no longer
operational. This commit updates those and clarifies that
Pipenv is a project maintained by the PyPA.

Fixes #4137.

Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2020-03-05 20:55:28 -05:00
Tim Hughes 1fcb1b5bc1 [docs] mention variable expansion in .env files
fix #3610
2020-01-15 12:49:14 +00:00
frostming 79a12c35db Add missing blank line in code block 2019-07-15 13:59:17 +08:00
Frost Ming 2f619df5f9 Merge branch master 2019-07-14 15:36:41 +08:00
Doc Developer d503c496b7 Fixes formatting 2019-07-11 21:28:20 +02:00
Doc Developer fca99b4323 Merge branch 'master' into patch-2 2019-07-08 11:45:22 +02:00
Dan Ryan 0e56fef36f Clean up env variable documentation
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 13:11:36 -04:00
Gilberto Corrêa de Souza 4b108dfd49 change wording for Environment Variables options 2019-05-27 13:04:59 -04:00
Gilberto Corrêa de Souza 3402ed9615 clarified the use of environment variables 2019-05-27 13:04:19 -04:00
Jordan Pittier 788194d749 Doc: advanced.rst: Use "pytest" as the new recommended entrypoint for Pytest
According to https://github.com/pytest-dev/pytest/issues/1629 the recommended
entrypoint for `pytest` is `pytest`. Usage of `py.test` has been deprecated
for 2 years now.
2019-05-27 10:36:02 +02:00
Doc Developer 5782ce06bb Adds info on env variables
Adds info about using quotation marks if credentials contain special characters
2019-05-23 11:38:34 +02:00
Frost Ming 12b66e1e4a update manual
Signed-off-by: Frost Ming <mianghong@gmail.com>
2018-11-18 09:23:37 +08:00
Dan Ryan 18ceaa19dd Merge branch 'master' into check_api_override 2018-11-01 21:35:28 -04:00
joren485 516c86cd49 Remove 'you' from sentence in docs page (#3091) 2018-10-24 17:52:59 +08:00
Ulrik Johansson ba61dd0622 Use less ambiguous env var name for pyup api key 2018-09-19 07:40:05 +02:00
Ulrik Johansson bec205bbd5 Add ability to override the pyup.io API key for the check command 2018-09-09 13:35:12 +02:00
Dan Ryan 7f602daf98 Expand a bit on sync vs ignore-pipfile
- expanded a bit on the distinction between `sync` and `ignore-pipfile`
- fixed a merge conflict resolution I did that erased some changes in master
2018-08-31 00:16:09 -04:00
Dan Ryan d1d6b87b05 Merge branch 'master' into docs/deployment-guide 2018-08-30 23:53:53 -04:00
Sharla Kew 8ba24b85d8 change argument example to show concatination 2018-08-30 19:18:28 +01:00
Dan Ryan 0fc5d0bc05 Merge branch 'master' into master 2018-08-29 02:01:36 -04:00
Stephen Rosen 3798d83a70 Update deployment section of advanced docs
Clarify that `--deploy` is meant for enforcement and intentionally
failing a build.
Mention `pipenv sync` in the same section to try to establish it more
clearly as the most obvious and normal way of doing installation from
``Pipfile.lock`` as part of a reproducible build process.

Explicitly recommend against `pipenv install --ignore-pipfile` and
suggest that it may be deprecated.
2018-08-27 15:15:43 +00:00
Sharla Kew 7678cba302 Expand and clarify custom script shortcut docs
This is a really neat feature and I felt the documentation would benefit
from being expanded slightly and being worded a little more clearly.
2018-08-25 10:54:13 +01:00
Giorgio Sironi 45b5e7d789 Do not recommend --system for a Docker context
Despite an application's Docker container not usually running other Python processes than the application itself, it still has a system Python whose packages should not necessarily be overwritten or upgraded by an application's choices.

For example, `python3-software-properties` in Ubuntu contains utilities
written in Python like `add-apt-repository` whose [use is widespread in
Dockerfiles](https://github.com/search?l=Dockerfile&q=%22add-apt-repository%22&type=Code).

By inadvertently applying an application's dependency onto the the container's Python, it is possible to:

- subtly break system-level software like these that is still present in the container image
- run into errors where that software is executed while extending the image with another Dockerfile
- run into errors when `docker run|exec ... COMMAND` is used to run another process inside the same container for debugging purposes

I realize this is not necessarily a likely use case, but we have seen
enough projects/tools vendoring `Requests` in fear of a conflict.

Very open on the wording and whether `system Python` is the correct term
to designate the global Python for that OS/container image.
2018-08-20 13:38:14 +01:00
Warix3 0170cdbf77 PyCharm now fully supports pipenv
As of the release version 2018.2 PyCharm has a full pipenv support. [Source](https://www.jetbrains.com/pycharm/whatsnew/#v2018-2-python "New features")
2018-07-30 01:28:42 +02:00
James Howe 8dcb187b56 Delete "Changing Where Pipenv Stores Virtualenvs"
It's a partial duplicate of the "Custom Virtual Environment Location" section.
2018-07-10 15:21:09 +01:00
Tzu-ping Chung 9bd49f9759 Automatically generate environment variable docs
Default values are added to docstrings so they appear in the docs.
This should help maintainers to keep them up-to-date.

Fix #2547.
2018-07-10 18:38:15 +08:00
gkdoc ec93a9e10e Insert space before a bracket 2018-07-05 21:35:22 -07:00
Tzu-ping Chung a5a9583c2d Un-vendor Pew 2018-07-05 16:43:11 +08:00
Jacob Henner af91eb68bb Add support for PyPI mirrors
Adds support for the --pypi-mirror command line parameter and the
PIPENV_PYPI_MIRROR environment variable for most pipenv operations.
This permits pipenv to function without pypi.org, which is necessary for
users:

    1. behind restrictive networks
    2. facing strict artifact sourcing policies
    3. experiencing poor performance connecting to pypi.org
    4. who've configured a local cache for performance reasons

When specified, the value of this parameter replaces all instances of
pypi.org and pypi.python.org within pipenv operations without modifying
or requring the modification of Pipfiles.

- Resolves #2075
2018-06-07 18:24:18 -04:00
Dan Ryan cf051ef1d4 Merge branch 'master' into patch-2 2018-04-29 15:26:04 -04:00
Stefane Fermigier 6707b0c19b I believe this tox config is more correct this way 2018-04-16 12:36:40 +02:00
Frost Ming 336f649e13 revise as suggested 2018-04-14 16:20:23 +08:00
frostming ea06c18565 change the term of conda 2018-04-14 16:17:26 +08:00
frostming a28bfd96fe make names consistent 2018-04-14 16:17:26 +08:00
Cody 828652680e Merge branch 'master' into master 2018-04-12 23:13:21 -04:00