Skip to content

Commit

Permalink
refactor: Split datatypes module into types and literals packages
Browse files Browse the repository at this point in the history
  • Loading branch information
xmnlab committed Nov 28, 2024
1 parent c4ab4fc commit cf2e5da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/astx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
flows,
literals,
mixes,
operators,
packages,
symbol_table,
types,
Expand Down Expand Up @@ -213,7 +212,6 @@ def get_version() -> str:
"MutabilityKind",
"NamedExpr",
"Number",
"operators",
"OperatorType",
"packages",
"Package",
Expand Down
8 changes: 8 additions & 0 deletions src/astx/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
from astx.types.boolean import (
Boolean,
)
from astx.types.casting import (
TypeCastExpr,
)
from astx.types.numeric import (
Complex,
Complex32,
Expand All @@ -29,7 +32,9 @@
UnsignedInteger,
)
from astx.types.operators import (
BinaryOp,
DataTypeOps,
UnaryOp,
)
from astx.types.string import (
UTF8Char,
Expand All @@ -44,6 +49,7 @@

__all__ = [
"AnyType",
"BinaryOp",
"Boolean",
"Complex",
"Complex32",
Expand All @@ -69,7 +75,9 @@
"UInt32",
"UInt64",
"UInt8",
"UnaryOp",
"UTF8Char",
"UTF8String",
"UnsignedInteger",
"TypeCastExpr",
]

0 comments on commit cf2e5da

Please sign in to comment.