(self, states: list[State])
| 1143 | return parallel_parsed_states, parallel_parsed_states_set |
| 1144 | |
| 1145 | def post_parse_all(self, states: list[State]) -> None: |
| 1146 | for state in states: |
| 1147 | state.compute_dependencies() |
| 1148 | if self.workers and state.tree: |
| 1149 | # We don't need imports in coordinator process anymore, we parse only to |
| 1150 | # compute dependencies. |
| 1151 | state.tree.imports = [] |
| 1152 | del self.ast_cache[state.id] |
| 1153 | |
| 1154 | def use_fine_grained_cache(self) -> bool: |
| 1155 | return self.cache_enabled and self.options.use_fine_grained_cache |
no test coverage detected