From abf199f21ee8a342d6856af68c77c4a1c3bfd320 Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Thu, 6 May 2021 19:28:08 +0200 Subject: [PATCH] Fix using mutable object as default arg --- docs/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 5fe5e51..931b7ee 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -59,7 +59,8 @@ texinfo_documents = [ def github_issue_role(name, rawtext, text, lineno, inliner, - options={}, content=()): # noqa: B006 + options=None, content=()): + options = options or {} try: issue_num = int(text) if issue_num <= 0: