File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -125,15 +125,12 @@ def get_version_entry(
125
125
entry = "\n " .join (entry ).strip ()
126
126
127
127
# Remove empty documentation entry if only automated changelogs were there
128
- if "# Documentation improvements\n \n " in entry :
128
+ if (
129
+ "# Documentation improvements" in entry
130
+ and not "# Documentation improvements\n \n -" in entry
131
+ ):
129
132
entry = re .sub (r"#+ Documentation improvements\n\n" , "" , entry )
130
133
131
- # Replace "*" unordered list marker with "-" since this is what
132
- # Prettier uses
133
- # TODO: remove after github_activity 0.1.4+ is available
134
- entry = re .sub (r"^\* " , "- " , entry )
135
- entry = re .sub (r"\n\* " , "\n - " , entry )
136
-
137
134
output = f"""
138
135
## { version }
139
136
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ install_requires =
31
31
check-manifest
32
32
click
33
33
ghapi
34
- github-activity~=0.1
34
+ github-activity~=0.2
35
35
importlib_resources
36
36
jsonschema>=3.0.1
37
37
pre-commit
You can’t perform that action at this time.
0 commit comments