File: faq.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 (24 lines) | stat: -rw-r--r-- 749 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

Known Issues and Idiosyncrasies
===============================

There are some know issues or idiosyncrasies when using ``docformatter``.
These are stylistic issues and are in the process of being addressed.

Wrapping Descriptions
---------------------

``docformatter`` will wrap descriptions, but only in simple cases. If there is
text that seems like a bulleted/numbered list, ``docformatter`` will leave the
description as is:

.. code-block:: rest

    - Item one.
    - Item two.
    - Item three.

This prevents the risk of the wrapping turning things into a mess. To force
even these instances to get wrapped use ``--force-wrap``.  This is being
addressed by the constellation of issues related to the various syntaxes used
in docstrings.