Skip to content

Commit c3bfd89

Browse files
authored
Add all types of towncrier documents to pyproject.toml (#2365)
* Add all types of towncrier documents to pyproject.toml * Fix formatting for old newsfragments * Don't show Misc content for consistency
1 parent eed1ae4 commit c3bfd89

File tree

4 files changed

+23
-3
lines changed

4 files changed

+23
-3
lines changed

newsfragments/2330.bugfix.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
- Fix types for ``gas``, and ``gasLimit`` (``Wei`` to ``int``)
2-
- Fix types for ``effectiveGasPrice``, (``int`` to ``Wei``)
1+
Fix types for ``gas``, and ``gasLimit``: ``Wei -> int``. Also fix types for ``effectiveGasPrice``: (``int -> Wei``)

newsfragments/2350.feature.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
+ Add async `eth.get_storage_at` method
1+
Add async `eth.get_storage_at` method

newsfragments/2365.misc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Towncrier stopped printing original types of newsfragments when the ``breaking-change`` and ``deprecation`` were added. Added them back.

pyproject.toml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,23 @@ showcontent=true
1515
directory = "deprecation"
1616
name = "Deprecations"
1717
showcontent = true
18+
19+
[[tool.towncrier.type]]
20+
directory = "bugfix"
21+
name="Bugfixes"
22+
showcontent=true
23+
24+
[[tool.towncrier.type]]
25+
directory = "doc"
26+
name="Documentation Updates"
27+
showcontent=true
28+
29+
[[tool.towncrier.type]]
30+
directory = "feature"
31+
name="Features"
32+
showcontent=true
33+
34+
[[tool.towncrier.type]]
35+
directory = "misc"
36+
name="Misc"
37+
showcontent=false

0 commit comments

Comments
 (0)