forked from GAIA-X4PLC-AAD/ontology-management-base
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (97 loc) · 2.97 KB
/
pyproject.toml
File metadata and controls
109 lines (97 loc) · 2.97 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "ontology-management-base"
version = "0.1.6"
description = "Ontology validation tools and management for the ENVITED-X ecosystem"
readme = "README.md"
requires-python = ">=3.12"
license = { text = "EPL-2.0" }
authors = [
{ name = "ASCS-EV", email = "info@asc-s.de" }
]
keywords = ["ontology", "shacl", "owl", "validation", "semantic-web", "json-ld"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Eclipse Public License 2.0 (EPL-2.0)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"rdflib>=7.6.0",
"pyshacl>=0.31.0",
"keycloak_client>=0.15.4",
"requests>=2.32.5",
"oxrdflib>=0.5.0",
]
[project.optional-dependencies]
dev = [
"ruff>=0.15.0",
# linkml: in [dev] for standalone pip install; the submodule pin in
# submodules/linkml/ is the single source of truth for the actual version.
"linkml @ git+https://github.com/ASCS-eV/linkml.git@feat/envited-x-pipeline#subdirectory=packages/linkml",
"pre-commit==4.5.1",
"mkdocs-material>=9.5.0",
"mkdocs-awesome-pages-plugin>=2.9.3",
"mkdocs-exclude>=1.0.0",
"mkdocstrings[python]>=0.24.0",
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
]
docs = [
"mkdocs-material>=9.5.0",
"mkdocs-awesome-pages-plugin>=2.9.3",
"mkdocs-exclude>=1.0.0",
"mkdocstrings[python]>=0.24.0",
]
[project.urls]
Homepage = "https://github.com/ASCS-eV/ontology-management-base"
Documentation = "https://ascs-ev.github.io/ontology-management-base/"
Repository = "https://github.com/ASCS-eV/ontology-management-base.git"
Issues = "https://github.com/ASCS-eV/ontology-management-base/issues"
[project.scripts]
onto-validate = "src.tools.validators.validation_suite:main"
onto-check-conformance = "src.tools.validators.conformance_validator:main"
onto-check-coherence = "src.tools.validators.coherence_validator:main"
onto-generate-docs = "src.tools.utils.properties_updater:main"
onto-generate-context = "src.tools.utils.context_generator:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["src*"]
[tool.ruff]
line-length = 88
target-version = "py312"
exclude = [
".git",
".venv",
"build",
"dist",
"node_modules",
]
[tool.ruff.lint]
ignore = [
"E501", # line too long (formatter handles it)
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
filterwarnings = [
"ignore::DeprecationWarning:src.tools.validators.*",
]
[tool.coverage.run]
source = ["src/tools"]
omit = ["*/tests/*", "*/__init__.py"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"raise NotImplementedError",
]