Skip to content

Commit

Permalink
Work around mypy AST incompatibilities
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-zeller committed Jan 6, 2025
1 parent cb6b6c2 commit 908868f
Show file tree
Hide file tree
Showing 4 changed files with 202 additions and 78 deletions.
2 changes: 1 addition & 1 deletion notebooks/DynamicInvariants.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1440,7 +1440,7 @@
" return ast.copy_location(\n",
" ast.FunctionDef(node.name, new_arguments,\n",
" node.body, node.decorator_list,\n",
" node.returns), node)"
" node.returns), node) # type: ignore"
]
},
{
Expand Down
Binary file modified notebooks/PICS/Alhazen-synopsis-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 908868f

Please sign in to comment.