From 5f2841296da9a84bf0e274978a759909374063d2 Mon Sep 17 00:00:00 2001 From: kclowes Date: Fri, 25 Feb 2022 14:01:03 -0700 Subject: [PATCH 1/3] Add all types of towncrier documents to pyproject.toml --- newsfragments/2365.misc.rst | 1 + pyproject.toml | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 newsfragments/2365.misc.rst diff --git a/newsfragments/2365.misc.rst b/newsfragments/2365.misc.rst new file mode 100644 index 0000000000..454861040a --- /dev/null +++ b/newsfragments/2365.misc.rst @@ -0,0 +1 @@ +Towncrier stopped printing original types of newsfragments when the ``breaking-change`` and ``deprecation`` were added. Added them back. diff --git a/pyproject.toml b/pyproject.toml index 804cc73713..35ef5c058c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,3 +15,23 @@ showcontent=true directory = "deprecation" name = "Deprecations" showcontent = true + +[[tool.towncrier.type]] +directory = "bugfix" +name="Bugfixes" +showcontent=true + +[[tool.towncrier.type]] +directory = "doc" +name="Documentation Updates" +showcontent=true + +[[tool.towncrier.type]] +directory = "feature" +name="Features" +showcontent=true + +[[tool.towncrier.type]] +directory = "misc" +name="Misc" +showcontent=true From d0b9cc8c11aeae119e3d84f8bbeba163408ce7c7 Mon Sep 17 00:00:00 2001 From: kclowes Date: Fri, 25 Feb 2022 14:37:32 -0700 Subject: [PATCH 2/3] Fix formatting for old newsfragments --- newsfragments/2330.bugfix.rst | 3 +-- newsfragments/2350.feature.rst | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/newsfragments/2330.bugfix.rst b/newsfragments/2330.bugfix.rst index f4588ea93e..e427705d2e 100644 --- a/newsfragments/2330.bugfix.rst +++ b/newsfragments/2330.bugfix.rst @@ -1,2 +1 @@ -- Fix types for ``gas``, and ``gasLimit`` (``Wei`` to ``int``) -- Fix types for ``effectiveGasPrice``, (``int`` to ``Wei``) +Fix types for ``gas``, and ``gasLimit``: ``Wei -> int``. Also fix types for ``effectiveGasPrice``: (``int -> Wei``) diff --git a/newsfragments/2350.feature.rst b/newsfragments/2350.feature.rst index 979d048c0d..e78320e699 100644 --- a/newsfragments/2350.feature.rst +++ b/newsfragments/2350.feature.rst @@ -1 +1 @@ -+ Add async `eth.get_storage_at` method +Add async `eth.get_storage_at` method From b1fe6244ad55aa5b8604f31e19b4c734affb04bd Mon Sep 17 00:00:00 2001 From: kclowes Date: Fri, 25 Feb 2022 14:44:01 -0700 Subject: [PATCH 3/3] Don't show Misc content --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 35ef5c058c..2f5e3368a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,4 +34,4 @@ showcontent=true [[tool.towncrier.type]] directory = "misc" name="Misc" -showcontent=true +showcontent=false