lint
This commit is contained in:
parent
3929954433
commit
9623866ed9
2 changed files with 6 additions and 1 deletions
|
|
@ -77,7 +77,8 @@ def _entry_variables() -> Dict[str, str]:
|
||||||
return {
|
return {
|
||||||
name: to_variable_dependency_format_string(
|
name: to_variable_dependency_format_string(
|
||||||
# pylint: disable=protected-access
|
# pylint: disable=protected-access
|
||||||
script=BASE_SCRIPT, parsed_format_string=BASE_SCRIPT._variables[name]
|
script=BASE_SCRIPT,
|
||||||
|
parsed_format_string=BASE_SCRIPT._variables[name]
|
||||||
# pylint: enable=protected-access
|
# pylint: enable=protected-access
|
||||||
)
|
)
|
||||||
for name in BASE_SCRIPT.variable_names
|
for name in BASE_SCRIPT.variable_names
|
||||||
|
|
|
||||||
|
|
@ -272,6 +272,10 @@ class Script:
|
||||||
output_filter: Set[str],
|
output_filter: Set[str],
|
||||||
unresolvable: Set[Variable],
|
unresolvable: Set[Variable],
|
||||||
) -> Dict[Variable, SyntaxTree]:
|
) -> Dict[Variable, SyntaxTree]:
|
||||||
|
"""
|
||||||
|
When an output filter is applied, only a subset of variables that the filter
|
||||||
|
depends on need to be resolved.
|
||||||
|
"""
|
||||||
subset_to_resolve: Set[str] = set()
|
subset_to_resolve: Set[str] = set()
|
||||||
|
|
||||||
for output_filter_variable in output_filter:
|
for output_filter_variable in output_filter:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue