question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pipenv is adding empty lines to my Pipfile

See original GitHub issue

Pipenv is adding empty lines to my Pipfile. Im starting with this Pipfile:

screenshot 2017-10-04 12 35 39

Now im running pipenv install --dev flake8-docstrings and the Pipfile get’s two extra empty lines:

screenshot 2017-10-04 12 35 47

Now every time I repeat the command (pipenv install --dev flake8-docstrings) the Pipfile get’s one extra empty line:

screenshot 2017-10-04 12 35 57 screenshot 2017-10-04 12 36 09 screenshot 2017-10-04 12 36 19

The same happens if I install something without the --dev flag.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kennethreitzcommented, Oct 6, 2017

fixed in master branch

0reactions
kennethreitzcommented, Oct 4, 2017

this is a side-effect of using contoml for our toml library, which preserves code comments — so, it’s worth it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"pipenv install" in empty directory doesn't create a Pipfile, but ...
Use the PIPENV_NO_INHERIT environment variable to ignore inheriting from directories above the current directory, e.g.,
Read more >
Frequently Encountered Pipenv Problems - Read the Docs
This is usually a result of mixing Pipenv with system packages. We strongly recommend installing Pipenv in an isolated environment. Uninstall all existing ......
Read more >
pipenv Documentation - Read the Docs
It automatically creates and manages a virtualenv for your projects, as well as adds/removes packages from your. Pipfile as you install/uninstall packages.
Read more >
Pipenv: A Guide to the New Python Packaging Tool
Example Usage; Pipenv's Dependency Resolution Approach; The Pipfile; The Pipfile. ... Executing pip freeze results in pinned dependencies you can add to a ......
Read more >
Advanced Usage of Pipenv - Python Packaging Authority
pipenv install --index=pytorch torch. Alternatively the index may be specified by full url, and it will be added to the Pipfile with a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found