Skip to content

Commit

Permalink
docs: clarify future arguments (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
weibullguy committed Mar 3, 2023
1 parent 02e59ab commit 4896d22
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 17 deletions.
35 changes: 19 additions & 16 deletions docs/source/requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,6 @@ with *convention* requirements.
the opening quotes in a multi-line docstring. See requirement
PEP_257_5.2.

The following are new arguments that are needed to implement **should** or
**may** *convention* requirements:
::

--wrap-one-line [boolean, default False]
Boolean to indicate whether to wrap one-line docstrings. Provides
option for requirement PEP_257_4.1.

``docformatter`` currently provides these arguments for *style* requirements.
::

Expand Down Expand Up @@ -270,14 +262,6 @@ The following are new arguments that are needed to implement **should** or
Wrap long one-line docstrings and summary lines in multi-line
docstrings at this length.

The following are new *style* arguments needed to accommodate the various style options:
::

--syntax [string, default "sphinx"]
One of sphinx, numpy, or google
--black [boolean, default False]
Formats docstrings to be compatible with black.

``docformatter`` currently provides these arguments for *stakeholder* requirements.
::

Expand All @@ -299,6 +283,25 @@ The following are new *style* arguments needed to accommodate the various style
--recursive
Drill down directories recursively.

Arguments Needed for Future Releases
------------------------------------

The following are new arguments that are needed to implement **should** or
**may** *convention* requirements:
::

--wrap-one-line [boolean, default False]
Boolean to indicate whether to wrap one-line docstrings. Provides
option for requirement PEP_257_4.1.

The following are new *style* arguments needed to accommodate the various style options:
::

--syntax [string, default "sphinx"]
One of sphinx, numpy, or google
--black [boolean, default False]
Formats docstrings to be compatible with black.

Issue and Version Management
----------------------------

Expand Down
2 changes: 1 addition & 1 deletion src/docformatter/__pkginfo__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
# SOFTWARE.
"""Package information for docformatter."""

__version__ = "1.5.0"
__version__ = "1.5.1"

0 comments on commit 4896d22

Please sign in to comment.