Skip to content

Commit

Permalink
We were relying on an import * for doctests.
Browse files Browse the repository at this point in the history
(Of course mostly for laziness -- but this now doesn't import the
exceptions module which doesn't appear in __all__, which was added for
E401 style lints, which...)
  • Loading branch information
Julian committed Mar 15, 2023
1 parent fe9c6b0 commit 3394973
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/conf.py
Expand Up @@ -76,6 +76,7 @@ def setup(app):

doctest_global_setup = """
from jsonschema import *
from jsonschema import exceptions
import jsonschema.validators
"""

Expand Down

0 comments on commit 3394973

Please sign in to comment.