You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I would like to disable title generation as our file already has a title heading.
README.rst mentions this can be achieved by setting title_format to false in the pyproject.toml config:
title_format = "{name} {version} ({project_date})"# or false if template includes title
However, that doesn't quite work for me:
...
File "<... my virtual env ...>/lib/python3.7/site-packages/towncrier/__init__.py", line 122, in __main
top_line = config["title_format"].format(
AttributeError: 'bool' object has no attribute 'format'
Setting title_format to an empty string seems to work (?) as a workaround, although a lot of empty space is emitted suggesting it is sort of using that string to format a zero-length heading.
The text was updated successfully, but these errors were encountered:
@vytas7, I think this has been fixed though there seemed to be no tests for it. I added a couple in #299 (and snuck in one less newline which seemed more consistent). Would you be willing to take a look at that and/or try out the master branch to see if your issue is still present?
Hello,
I would like to disable title generation as our file already has a title heading.
README.rst
mentions this can be achieved by settingtitle_format
tofalse
in thepyproject.toml
config:However, that doesn't quite work for me:
Setting
title_format
to an empty string seems to work (?) as a workaround, although a lot of empty space is emitted suggesting it is sort of using that string to format a zero-length heading.The text was updated successfully, but these errors were encountered: