Skip to content

Commit

Permalink
autonotebook: re-enable VSCode (#1309)
Browse files Browse the repository at this point in the history
  • Loading branch information
aldanor committed Apr 3, 2022
1 parent 08e9207 commit 9f0ffe6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tqdm/autonotebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,13 @@
>>> for i in trange(10):
... ...
"""
import os
import sys
from warnings import warn

try:
get_ipython = sys.modules['IPython'].get_ipython
if 'IPKernelApp' not in get_ipython().config: # pragma: no cover
raise ImportError("console")
if 'VSCODE_PID' in os.environ: # pragma: no cover
raise ImportError("vscode")
from .notebook import WARN_NOIPYW, IProgress
if IProgress is None:
from .std import TqdmWarning
Expand Down

0 comments on commit 9f0ffe6

Please sign in to comment.