Skip to content

Commit

Permalink
Let pre-commit 'fix' the conf.py file
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Dec 27, 2016
1 parent 6da8b85 commit a8e0380
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,14 +291,13 @@ def __getattr__(cls, name):
),
replace=[
dict(
pattern=r"(Issue )?#(?P<issue>\d+)",
pattern=r'(Issue )?#(?P<issue>\d+)',
url='{url}/issues/{issue}',
),
dict(
pattern=r"^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n",
with_scm="{text}\n{rev[timestamp]:%d %b %Y}\n",
pattern=r'^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n',
with_scm='{text}\n{rev[timestamp]:%d %b %Y}\n',
),
],
),
}

0 comments on commit a8e0380

Please sign in to comment.