sera-2 1.14.1__py3-none-any.whl → 1.14.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
sera/models/_module.py
CHANGED
@@ -10,6 +10,7 @@ import black.mode
|
|
10
10
|
import isort
|
11
11
|
from codegen.models import Program
|
12
12
|
from loguru import logger
|
13
|
+
|
13
14
|
from sera.misc import File, Formatter
|
14
15
|
from sera.typing import Language
|
15
16
|
|
@@ -62,7 +63,9 @@ class Module:
|
|
62
63
|
target_versions={black.mode.TargetVersion.PY312},
|
63
64
|
),
|
64
65
|
)
|
65
|
-
code = isort.code(
|
66
|
+
code = isort.code(
|
67
|
+
code, profile="black", known_first_party=[self.package.app.name]
|
68
|
+
)
|
66
69
|
except:
|
67
70
|
logger.error("Error writing module {}", self.path)
|
68
71
|
print(">>> Program")
|
@@ -173,3 +176,4 @@ class App:
|
|
173
176
|
def name(self) -> str:
|
174
177
|
"""Get the name of the application"""
|
175
178
|
return self.root.dir.name
|
179
|
+
return self.root.dir.name
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: sera-2
|
3
|
-
Version: 1.14.
|
3
|
+
Version: 1.14.2
|
4
4
|
Summary:
|
5
5
|
Author: Binh Vu
|
6
6
|
Author-email: bvu687@gmail.com
|
@@ -8,9 +8,9 @@ Requires-Python: >=3.12,<4.0
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
9
9
|
Classifier: Programming Language :: Python :: 3.12
|
10
10
|
Classifier: Programming Language :: Python :: 3.13
|
11
|
-
Requires-Dist: black (
|
11
|
+
Requires-Dist: black (==25.1.0)
|
12
12
|
Requires-Dist: codegen-2 (>=2.11.1,<3.0.0)
|
13
|
-
Requires-Dist: isort (
|
13
|
+
Requires-Dist: isort (==6.0.1)
|
14
14
|
Requires-Dist: litestar (>=2.15.1,<3.0.0)
|
15
15
|
Requires-Dist: loguru (>=0.7.0,<0.8.0)
|
16
16
|
Requires-Dist: msgspec (>=0.19.0,<0.20.0)
|
@@ -30,12 +30,12 @@ sera/models/_constraints.py,sha256=PsSOX94b9-73wZTcUif9KTzV9uTfoF0WN87g4GZXQmU,1
|
|
30
30
|
sera/models/_datatype.py,sha256=y5kfim0G3gLhnGjiokFBr8leU1Y6as_Vw7oK-caOo68,7140
|
31
31
|
sera/models/_default.py,sha256=ABggW6qdPR4ZDqIPJdJ0GCGQ-7kfsfZmQ_DchgZEa-I,137
|
32
32
|
sera/models/_enum.py,sha256=sy0q7E646F-APsqrVQ52r1fAQ_DCAeaNq5YM5QN3zIk,2070
|
33
|
-
sera/models/_module.py,sha256=
|
33
|
+
sera/models/_module.py,sha256=I-GfnTgAa-5R87qTAvEzOt-VVEGeFBBwubGCgUkXVSw,5159
|
34
34
|
sera/models/_multi_lingual_string.py,sha256=JETN6k00VH4wrA4w5vAHMEJV8fp3SY9bJebskFTjQLA,1186
|
35
35
|
sera/models/_parse.py,sha256=OpTnLC8tg_gCzsjMAAqgR_TbYNS7kmPjkHGRNERziBQ,12015
|
36
36
|
sera/models/_property.py,sha256=ZAxTuQ4BVf1Vsfk4dFkYwH_UsP9mFLTPyUkTcBaTajY,7183
|
37
37
|
sera/models/_schema.py,sha256=VxJEiqgVvbXgcSUK4UW6JnRcggk4nsooVSE6MyXmfNY,1636
|
38
38
|
sera/typing.py,sha256=Fl4-UzLJu1GdLLk_g87fA7nT9wQGelNnGzag6dg_0gs,980
|
39
|
-
sera_2-1.14.
|
40
|
-
sera_2-1.14.
|
41
|
-
sera_2-1.14.
|
39
|
+
sera_2-1.14.2.dist-info/METADATA,sha256=YoTV3zBXfa_8HQ9WU0dOZ2U5fGIIWzu_F70HsJTIqxg,852
|
40
|
+
sera_2-1.14.2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
41
|
+
sera_2-1.14.2.dist-info/RECORD,,
|
File without changes
|