Skip to content

Commit

Permalink
v4.0.1 whitespace fix in markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
ipmb committed Feb 10, 2024
1 parent 8e17230 commit 1c17a4e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Change Log
==========

4.0.1 (10 February 2024)
========================

- Fix trailing whitespace in markdown output

4.0.0 (10 February 2024)
========================

Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -203,5 +203,5 @@ Releasing a new version to PyPI:
git push --tags
rm -rf ./dist
hatch build
hatch publish
gh release create v$VERSION dist/goodconf-$VERSION* --generate-notes --verify-tag
hatch publish --user __token__
gh release create v$VERSION dist/goodconf-$VERSION* --generate-notes --verify-tag
2 changes: 1 addition & 1 deletion goodconf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def generate_markdown(cls) -> str:
if cls.__doc__:
lines.extend([f"# {cls.__doc__}", ""])
for k, v in cls.__fields__.items():
lines.append(f"* **{k}** ")
lines.append(f"* **{k}**")
if v.required:
lines[-1] = lines[-1] + "_REQUIRED_"
if v.field_info.description:
Expand Down

0 comments on commit 1c17a4e

Please sign in to comment.