Docstrfmt

Latest version: v1.6.1

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

Scan your dependencies

Page 3 of 4

1.1.3

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

**Changed**

- Paths are now casted to string when parsing rst with docutils.

**Fixed**

- Fixed import error with sphinx>=4.0.0.

1.1.2

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

**Fixed**

- Fixed issue when `target_version` is not set in `pyproject.toml`.

1.1.1

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

**Added**

- Added `currentmodule`, `function`, and `py:function` directives.

**Changed**

- Updated black config parsing.

**Fixed**

- Fixed import error when parsing black config.

1.1.0

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

- Make docstrfmt operate in parallel when processing more than 2 files similar to
psf/black.
- Added a caching mechanism similar to psf/black has so files that haven't changed from
the last run won't be checked again.

1.0.3

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

**Added**

- Support for asynchronous functions.
- Ability to remove the blank line at the end of docstrings.

**Changed**

- Python file parsing now uses `libcst <https://libcst.readthedocs.io/en/latest>`_.
- When misformatted files are found, location info is printed with the line where the
error is found if possible.

**Fixed**

- Bug where some raw docstrings were not being formatted.
- Bug where some syntax errors in python blocks were not caught or raised correctly.

1.0.2

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

**Fixed**

- Fix UnicodeEncodeError in Windows Github Actions jobs.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.