Skip to content

Commit

Permalink
Require sphinx>=4.2 (cleanup) (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman committed Aug 9, 2022
1 parent 3513a71 commit dcbfbc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions numpydoc/numpydoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
from sphinx.util import logging
from sphinx.errors import ExtensionError

if sphinx.__version__ < "3.0":
raise RuntimeError("Sphinx 3.0 or newer is required")
if sphinx.__version__ < "4.2":
raise RuntimeError("Sphinx 4.2 or newer is required")

from .docscrape_sphinx import get_doc_object
from .validate import validate, ERROR_MSGS
Expand Down

0 comments on commit dcbfbc4

Please sign in to comment.