8000 Update readme to use `gh-issue` instead of `gh-` · python/core-workflow@46b0f2c · GitHub
[go: up one dir, main page]

Skip to content

Commit 46b0f2c

Browse files
committed
Update readme to use gh-issue instead of gh-
1 parent c39afa5 commit 46b0f2c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

blurb/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Under ``Misc/NEWS.d`` you'll find the following:
4545
the various ``Misc/NEWS`` categories. Inside these subdirectories
4646
are more ``.rst`` files with long, uninteresting, computer-generated
4747
names. Example:
48-
``Misc/NEWS.d/next/Library/2017-05-04-12-24-06.gh-25458.Yl4gI2.rst``
48+
``Misc/NEWS.d/next/Library/2017-05-04-12-24-06.gh-issue-25458.Yl4gI2.rst``
4949

5050

5151
blurb subcommands
@@ -130,7 +130,7 @@ with the following format::
130130

131131
For example, a file added by ``blurb add`` might look like this::
132132

133-
Misc/NEWS.d/next/Library/2017-05-04-12-24-06.gh-25458.Yl4gI2.rst
133+
Misc/NEWS.d/next/Library/2017-05-04-12-24-06.gh-issue-25458.Yl4gI2.rst
134134

135135
``<section>`` is the section provided in the checkin message.
136136

blurb/blurb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ def finish_entry():
467467
if not body:
468468
throw("Blurb 'body' text must not be empty!")
469469
text = textwrap_body(body)
470-
for naughty_prefix in ("- ", "Issue #", "bpo-", "gh-"):
470+
for naughty_prefix in ("- ", "Issue #", "bpo-", "gh-", "gh-issue-"):
471471
if re.match(naughty_prefix, text, re.I):
472472
throw("Blurb 'body' can't start with " + repr(naughty_prefix) + "!")
473473

0 commit comments

Comments
 (0)
0