docs: Remove sudo from pip installation instructions

This commit is contained in:
Adrien Vergé 2018-05-09 20:20:18 +02:00
parent 51c30505b5
commit 203cfc20f0
2 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ Alternatively using pip, the Python package manager:
.. code:: bash .. code:: bash
sudo pip install yamllint pip install --user yamllint
Usage Usage
^^^^^ ^^^^^

View File

@ -26,14 +26,14 @@ Alternatively using pip, the Python package manager:
.. code:: bash .. code:: bash
sudo pip install yamllint pip install --user yamllint
If you prefer installing from source, you can run, from the source directory: If you prefer installing from source, you can run, from the source directory:
.. code:: bash .. code:: bash
python setup.py sdist python setup.py sdist
sudo pip install dist/yamllint-*.tar.gz pip install --user dist/yamllint-*.tar.gz
Running yamllint Running yamllint
---------------- ----------------