Add the cache_path parameter to parso calls.
This commit is contained in:
1 parent
50c7137437
commit
f35f1b9676
5 files changed
+12
-6
No files matched your search
@@ -141,6 +141,7 @@ class Script(object):
|
||||
grammar=self._grammar,
|
||||
cache=False, # No disk cache, because the current script often changes.
|
||||
diff_cache=True,
|
||||
cache_path=settings.cache_directory
|
||||
)
|
||||
|
||||
@cache.memoize_method
|
||||
|
||||
Reference in new issue
Block a user