Skip to content

Commit e090f76

Browse files
committed
add julia as somesy target
1 parent 8a11338 commit e090f76

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/somesy/core/models.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def model_dump_json(self, *args, **kwargs):
118118
return json.dumps(ret, ensure_ascii=False)
119119

120120

121-
_SOMESY_TARGETS = ["cff", "pyproject", "package_json", "codemeta"]
121+
_SOMESY_TARGETS = ["cff", "pyproject", "package_json", "codemeta", "julia"]
122122

123123

124124
class SomesyConfig(SomesyBaseModel):
@@ -182,6 +182,13 @@ def at_least_one_target(cls, values):
182182
Path, Field(description="codemeta.json file path.")
183183
] = Path("codemeta.json")
184184

185+
no_sync_julia: Annotated[
186+
bool, Field(description="Do not sync with Project.toml.")
187+
] = False
188+
julia_file: Annotated[Path, Field(description="Project.toml file path.")] = Path(
189+
"Project.toml"
190+
)
191+
185192
def log_level(self) -> SomesyLogLevel:
186193
"""Return log level derived from this configuration."""
187194
return SomesyLogLevel.from_flags(

0 commit comments

Comments
 (0)