Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 38896ab

Browse files
committed
Revert "Preserve tmpdirs global across reloads"
This reverts commit 6dd9b7f. We specifically clear this variable when the plugin is unloaded so that references get lost.
1 parent aef0653 commit 38896ab

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

linter.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@
2828
# Mapping for our created temporary directories.
2929
# For smarter caching purposes,
3030
# we index different cache folders based on the working dir.
31-
try:
32-
tmpdirs
33-
except NameError:
34-
tmpdirs = {}
31+
tmpdirs = {}
3532

3633

3734
class Mypy(PythonLinter):

0 commit comments

Comments
 (0)