Skip to content

Commit

Permalink
Mypy type safety: round 6
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBB committed Feb 14, 2024
1 parent bc6c147 commit b014a08
Show file tree
Hide file tree
Showing 7 changed files with 286 additions and 223 deletions.
2 changes: 1 addition & 1 deletion examples/write.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@


# G2 files are native GoTools (http://www.sintef.no/projectweb/geometry-toolkits/gotools/)
with G2('torus.g2') as my_file:
with G2('torus.g2', 'w') as my_file:
my_file.write(torus)
Loading

0 comments on commit b014a08

Please sign in to comment.