mirror of
https://github.com/mandiant/capa.git
synced 2026-02-04 11:07:53 -08:00
main.py: replace | operator with Optional
This commit is contained in:
@@ -835,7 +835,7 @@ def get_rules(
|
||||
rule_paths: List[RulePath],
|
||||
cache_dir=None,
|
||||
on_load_rule: Callable[[RulePath, int, int], None] = on_load_rule_default,
|
||||
analysis_context: ExecutionContext | None = None,
|
||||
analysis_context: Optional[ExecutionContext] = None,
|
||||
) -> RuleSet:
|
||||
"""
|
||||
args:
|
||||
|
||||
Reference in New Issue
Block a user