diff --git a/scripts/pyproject.toml b/scripts/pyproject.toml index d73fb18f..34acf03f 100644 --- a/scripts/pyproject.toml +++ b/scripts/pyproject.toml @@ -1,33 +1,33 @@ [tool.towncrier] - package = "sanic" - package_dir = "." - filename = "../CHANGELOG.rst" - directory = "./changelogs" - underlines = ["=", "*", "~"] - issue_format = "`#{issue} `__" - title_format = "Version {version}" +package = "sanic" +package_dir = "." +filename = "../CHANGELOG.rst" +directory = "./changelogs" +underlines = ["=", "*", "~"] +issue_format = "`#{issue} `__" +title_format = "Version {version}" [[tool.towncrier.type]] - directory = "feature" - name = "Features" - showcontent = true +directory = "feature" +name = "Features" +showcontent = true [[tool.towncrier.type]] - directory = "bugfix" - name = "Bugfixes" - showcontent = true +directory = "bugfix" +name = "Bugfixes" +showcontent = true [[tool.towncrier.type]] - directory = "doc" - name = "Improved Documentation" - showcontent = true +directory = "doc" +name = "Improved Documentation" +showcontent = true [[tool.towncrier.type]] - directory = "removal" - name = "Deprecations and Removals" - showcontent = true +directory = "removal" +name = "Deprecations and Removals" +showcontent = true [[tool.towncrier.type]] - directory = "misc" - name = "Miscellaneous internal changes" - showcontent = true +directory = "misc" +name = "Miscellaneous internal changes" +showcontent = true diff --git a/scripts/release.py b/scripts/release.py index 16693847..3cc88369 100755 --- a/scripts/release.py +++ b/scripts/release.py @@ -314,5 +314,5 @@ if __name__ == "__main__": required=False, ) args = cli.parse_args() - with Directory() as _: + with Directory(): release(args)