forked from crs4/rocrate-validator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
122 lines (110 loc) · 3.22 KB
/
pyproject.toml
File metadata and controls
122 lines (110 loc) · 3.22 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
110
111
112
113
114
115
116
117
118
119
120
121
122
[tool.poetry]
name = "roc-validator"
version = "0.8.1"
description = "A Python package to validate RO-Crates"
authors = [
"Marco Enrico Piras <kikkomep@crs4.it>",
"Luca Pireddu <luca.pireddu@crs4.it>",
"Simone Leo <simleo@crs4.it>",
]
readme = "README.md"
license = "Apache-2.0"
# Links to the GitHub repository and the project homepage/documentation
repository = "https://github.com/crs4/rocrate-validator"
homepage = "https://github.com/crs4/rocrate-validator"
documentation = "https://github.com/crs4/rocrate-validator"
# Keywords and classifiers
keywords = [
"RO-Crate",
"validation",
"metadata",
"research object",
"data management",
"scientific data",
"Python"
]
classifiers = [
"Development Status :: 4 - Beta",
"Natural Language :: English",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Utilities",
"Environment :: Console",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
]
# Package Settings
packages = [{ include = "rocrate_validator", from = "." }]
include = [
{ path = "pyproject.toml", format = [
"sdist",
"wheel",
] },
{ path = "README.md", format = [
"sdist",
"wheel",
] },
{ path = "LICENSE", format = [
"sdist",
"wheel",
] }
]
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
rdflib = ">=7.1,<8.0"
pyshacl = ">=0.26"
click = ">=8.2,<9.0"
rich = ">=13.9,<14.0"
toml = ">=0.10.2,<1.0"
rich-click = ">=1.8,<2.0"
colorlog = ">=6.9,<7.0"
requests = ">=2.32,<3.0"
requests-cache = ">=1.2,<2.0"
inquirerpy = ">=0.3.4,<0.4.0"
enum-tools = ">=0.12,<0.13"
typos = "^1.41.0"
[tool.poetry.group.dev.dependencies]
pyproject-flake8 = "^6.1.0"
pylint = "^3.1.0"
ipykernel = "^6.29.3"
[tool.poetry.group.test.dependencies]
pytest-cov = "^5.0.0"
pytest-xdist = "^3.6.1"
[tool.poetry.group.docs.dependencies]
sphinx = "^8.1.3"
nbsphinx = "^0.9.5"
enum-tools = "^0.12.0"
sphinx-toolbox = "^3.8.1"
myst-parser = "^4.0.0"
sphinx-rtd-theme = "^3.0.2"
sphinx-copybutton = "^0.5.2"
[tool.flake8]
max-line-length = 120
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
rocrate-validator = "rocrate_validator.cli:cli"
[tool.rocrate_validator]
skip_dirs = [".git", ".github", ".vscode"]
[tool.pytest.ini_options]
testpaths = ["tests"]
filterwarnings = [
# Ignore deprecation warnings from rdflib's JSON-LD parser,
# used internally by pyshacl. These warnings are unrelated to
# our code and currently noisy.
# See: https://github.com/RDFLib/rdflib/issues/3064
# Fix in progress: https://github.com/RDFLib/rdflib/issues/3302
"ignore::DeprecationWarning:rdflib.plugins.parsers.jsonld",
]
[tool.typos.files]
extend-exclude = ["tests/data", "docs/diagrams", "*.json", "*.html", "*__init__.py"]
[tool.typos.default.extend-words]
TRE = "TRE"