Skip to content

Commit

Permalink
from future import annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
finsberg committed Dec 14, 2023
1 parent 97d22a4 commit 95367a8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/gotranx/codegen/c.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations
from sympy.printing.c import C99CodePrinter
from sympy.codegen.ast import Assignment
import sympy
Expand Down
1 change: 1 addition & 0 deletions src/gotranx/codegen/python.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations
from sympy.printing.pycode import PythonCodePrinter
from sympy.codegen.ast import Assignment
import sympy
Expand Down
1 change: 1 addition & 0 deletions src/gotranx/templates/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations
import typing

from . import c
Expand Down
1 change: 1 addition & 0 deletions src/gotranx/templates/python.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations
from textwrap import dedent, indent


Expand Down

0 comments on commit 95367a8

Please sign in to comment.