File size: 1,347 Bytes
69928d6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[project]
name = "softasp"
version = "0.1.0"
description = "AS2: attention-based soft answer set framework with Hydra-selected instantiations"
readme = "README.md"
requires-python = ">=3.12"
license = "CC-BY-NC-4.0"
license-files = ["LICENSE"]
dependencies = [
    "softasp-core",
    "softasp-solver",
    "softasp-domain",
    "hydra-core>=1.3",
    "omegaconf>=2.3",
    "rich>=13.0",
    "aim>=3.29.1",
]

[project.scripts]
softasp-train = "softasp.cli.train:main"
softasp-train-scratch = "softasp.cli.train_scratch:main"
softasp-evaluate = "softasp.cli.evaluate:main"
softasp-predict = "softasp.cli.predict:main"

[dependency-groups]
dev = [
    "pytest>=8.0",
    "pyright>=1.1",
    "ruff>=0.8",
]

[tool.uv.workspace]
members = ["packages/softasp-core", "packages/softasp-domain", "packages/softasp-solver"]

[tool.uv.sources]
softasp-core = { workspace = true }
softasp-solver = { workspace = true }
softasp-domain = { workspace = true }

[tool.hatch.build.targets.wheel]
packages = ["src/softasp"]

[tool.hatch.build.targets.wheel.force-include]
"configs" = "softasp/configs"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.ruff]
line-length = 100
target-version = "py312"

[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]

[tool.pyright]
pythonVersion = "3.12"
typeCheckingMode = "standard"