This repository has been archived by the owner on Jul 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
115 lines (99 loc) · 3.07 KB
/
pyproject.toml
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
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry]
name = "vocexcel"
version = "0.0.0"
description = """Another Excel to RDF converter for SKOS vocabs, \
but one that includes profile-based validation of results."""
repository = "https://github.com/nfdi4cat/voc4cat-tool/"
# Authors sorted by number of commits as of 2023-06-30
authors = [
"Peter Philips <[email protected]>",
"David Linke <[email protected]>",
"Nicholas Car <[email protected]>",
"Jamie Feiss <[email protected]>",
]
maintainers = [
"David Linke <[email protected]>",
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[tool.poetry.dependencies]
python = "^3.8"
openpyxl = "^3.0.9"
rdflib = "^6.1.1"
pydantic = "^1.9.0"
pyshacl = "^0.18.1"
dateutils = "^0.6.12"
colorama = "^0.4.4"
Pillow = "^9.1.0"
pytest = "^7.1.2"
setuptools = "^68.0.0" # missed requirement for pyshacl - https://github.com/RDFLib/pySHACL/issues/188
[tool.poetry.group.dev.dependencies]
pytest = "^7.0.1"
black = "^23.0.1"
coverage = "^7.2.1"
isort = "^5.12.0"
[tool.poetry.scripts]
vocexcel = "vocexcel.convert:main"
# https://github.com/mtkennerly/poetry-dynamic-versioning
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "pep440"
[tool.isort]
profile = "black"
src_paths = ["src", "tests"]
[tool.pylint.format]
max-line-length = "88"
[tool.pytest.ini_options]
# pytest config: https://docs.pytest.org/en/stable/customize.html
# Sets directories to be searched for tests. Avoids picking up
# undesired tests by accident.
testpaths = [
"tests",
]
# Directories that are not visited by pytest collector:
norecursedirs = "dist build .tox .git .cache __pycache__ .venv"
addopts = "--strict-markers --strict-config --tb=short"
[tool.coverage.run]
# https://coverage.readthedocs.io/en/latest/config.html
parallel = true
branch = true
source = ["vocexcel"]
[tool.coverage.paths]
# Specify where coverage should look for source files.
source = [
"src",
"**/site-packages",
]
[tool.coverage.report]
# Show in report which lines are not covered
show_missing = false
# Any line of the source code that matches one of these regexes is excluded
# from being reported as missing.
exclude_lines = [
# Have to re-enable the standard pragma
"pragma: no cover",
# Don't complain if tests don't hit defensive assertion code:
"raise AssertionError",
"raise NotImplementedError",
"return NotImplemented",
"if __name__ == .__main__.:",
]
[tool.coverage.html]
# Directory where to write the HTML report files.
directory = ".htmlcov"
title = "vocexcel coverage report"