Skip to content

Commit

Permalink
Move inline comment to docstring .. note::
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaoming authored and stsewd committed Jul 29, 2020
1 parent c0f7dbc commit af0ff8b
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions readthedocs/doc_builder/python_environments.py
Expand Up @@ -295,14 +295,18 @@ def venv_path(self):
return os.path.join(self.project.doc_path, 'envs', self.version.slug)

def setup_base(self):
"""Create a virtualenv, invoking python -m virtualenv"""
"""
Create a virtualenv, invoking python -m virtualenv
.. note::
# --no-download was removed because of the pip breakage,
# it was sometimes installing pip 20.0 which broke everything
# https://github.com/readthedocs/readthedocs.org/issues/6585
``--no-download`` was removed because of the pip breakage,
it was sometimes installing pip 20.0 which broke everything
https://github.com/readthedocs/readthedocs.org/issues/6585
# Important not to add empty string arguments, see:
# https://github.com/readthedocs/readthedocs.org/issues/7322
Important not to add empty string arguments, see:
https://github.com/readthedocs/readthedocs.org/issues/7322
"""
cli_args = [
'-mvirtualenv',
]
Expand Down

0 comments on commit af0ff8b

Please sign in to comment.