File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -482,7 +482,7 @@ def _create_complete_dag(
482482 functions_arguments_dict = {
483483 name : get_free_arguments (function ) for name , function in functions .items ()
484484 }
485- return nx .DiGraph (functions_arguments_dict ).reverse ()
485+ return nx .DiGraph (functions_arguments_dict ).reverse () # ty: ignore[invalid-argument-type]
486486
487487
488488def _limit_dag_to_targets_and_their_ancestors (
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ def example_signature_annotated() -> inspect.Signature:
3737
3838def test_create_signature (example_signature : inspect .Signature ) -> None :
3939 created = _create_signature (
40- args_types = {"a" : inspect .Parameter .empty , "b" : inspect .Parameter .empty },
41- kwargs_types = {"c" : inspect .Parameter .empty },
40+ args_types = {"a" : inspect .Parameter .empty , "b" : inspect .Parameter .empty }, # ty: ignore[invalid-argument-type]
41+ kwargs_types = {"c" : inspect .Parameter .empty }, # ty: ignore[invalid-argument-type]
4242 )
4343 assert created == example_signature
4444
You can’t perform that action at this time.
0 commit comments