Docstrfmt

Latest version: v1.6.1

Safety actively analyzes 621562 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.6.1

------------------

**Fixed**

- Fix incorrect blank line padding around ``:returns:`` and ``:raises:`` fields.

1.6.0

------------------

**Added**

- Added more missing roles.
- Added support for Python 3.11.
- Added support for Python 3.12.

**Changed**

- Improved field sorting and formatting.
- Improved handling of ``:param:`` and ``:type:`` fields.
- Bumped ``black``, ``docutils``, ``libcst``, ``platformdirs``, and ``sphinx`` to latest
versions.

**Fixed**

- Fix ``:raises:`` field not supporting types.

**Removed**

- Removed support for Python 3.6.
- Removed support for Python 3.7.

1.5.1

------------------

**Fixed**

- Fix ``ImportError`` when importing from black. Pinned black to 22.8.*.

1.5.0

------------------

**Added**

- Added a flag to skip the cache.

**Fixed**

- Fix ``AttributeError`` when accessing ``rawsource`` during the handling ``Text``
nodes.

1.4.4

------------------

**Changed**

- Bump maximum version of ``click`` from ``8.0.0`` to ``9.0.0``.
- Bump minimum version of ``black`` to ``22``.

1.4.3

------------------

**Fixed**

- An issue where docstrfmt would not properly find the ``pyproject.toml`` file.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.