Skip to content

Commit

Permalink
doc: applying @PipKat 's suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
clatapie committed Mar 19, 2024
1 parent 16727a5 commit 9f2671a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pyconverter/xml2py/formatter.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""This module contains the functions to format the generated docstrings with black."""
"""This module contains the functions to format the generated docstrings with
`Black <black_>`_."""


def run_black(package_path, max_docstring_length):
"""Run black on the autogenerated package."""
"""Run `Black <black_>`_ on the autogenerated package."""
exec(f"black {package_path}/src/pyconverter/generatedcommands -l {max_docstring_length}")

0 comments on commit 9f2671a

Please sign in to comment.