diff options
author | Jean-François B <2589111+jfbu@users.noreply.github.com> | 2022-08-06 18:31:14 +0200 |
---|---|---|
committer | Jean-François B <2589111+jfbu@users.noreply.github.com> | 2022-08-06 18:31:14 +0200 |
commit | 5c82449eca73ef448eb7fdfbcc061cb91d70c18c (patch) | |
tree | c4a8394dd9105ba73e2df12c3c5e26cbae501d54 /sphinx/config.py | |
parent | 6f530ca3ea305a4c4e077a237fc7196e959a4bb4 (diff) | |
parent | 59056aa7816ebae81aa6842290aa7a6ece14d1bd (diff) | |
download | sphinx-git-5c82449eca73ef448eb7fdfbcc061cb91d70c18c.tar.gz |
Merge branch '5.x'
Diffstat (limited to 'sphinx/config.py')
-rw-r--r-- | sphinx/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/config.py b/sphinx/config.py index 92395dd27..c339ab5cf 100644 --- a/sphinx/config.py +++ b/sphinx/config.py @@ -424,7 +424,7 @@ def correct_copyright_year(app: "Sphinx", config: Config) -> None: config[k] = copyright_year_re.sub(replace, config[k]) -def check_confval_types(app: "Sphinx", config: Config) -> None: +def check_confval_types(app: Optional["Sphinx"], config: Config) -> None: """Check all values for deviation from the default value's type, since that can result in TypeErrors all over the place NB. """ |