Skip to content

Commit 908868f

Browse files
Work around mypy AST incompatibilities
1 parent cb6b6c2 commit 908868f

File tree

4 files changed

+202
-78
lines changed

4 files changed

+202
-78
lines changed

notebooks/DynamicInvariants.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1440,7 +1440,7 @@
14401440
" return ast.copy_location(\n",
14411441
" ast.FunctionDef(node.name, new_arguments,\n",
14421442
" node.body, node.decorator_list,\n",
1443-
" node.returns), node)"
1443+
" node.returns), node) # type: ignore"
14441444
]
14451445
},
14461446
{
438 KB
Loading

0 commit comments

Comments
 (0)