File: installation.rst

package info (click to toggle)
python-docformatter 1.7.5-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,080 kB
  • sloc: python: 6,053; makefile: 28; sh: 7
file content (36 lines) | stat: -rw-r--r-- 945 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
How to Install docformatter
===========================

Install from PyPI
-----------------
The latest released version of ``docformatter`` is available from PyPI.  To
install it using pip:

.. code-block:: console

    $ pip install --upgrade docformatter

Extras
``````
If you want to use pyproject.toml to configure ``docformatter``, you'll need
to install with TOML support:

.. code-block:: console

    $ pip install --upgrade docformatter[tomli]

This is only necessary if you are using Python < 3.11.  Beginning with Python 3.11,
docformatter will utilize ``tomllib`` from the standard library.

Install from GitHub
-------------------

If you'd like to use an unreleased version, you can also use pip to install
``docformatter`` from GitHub.

.. code-block:: console

    $ python -m pip install git+https://github.com/PyCQA/docformatter.git@v1.5.0-rc1

Replace the tag ``v1.5.0-rc1`` with a commit SHA to install an untagged
version.