-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
52 lines (44 loc) · 1.77 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
[tool.poetry]
name = "iscc-schema"
version = "0.4.1"
description = "ISCC - JSON-LD Metadata and OpenAPI Service Descriptions"
authors = ["Titusz <tp@py7.de>"]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://iscc.codes"
repository = "https://github.com/iscc/iscc-schema"
documentation = "https://schema.iscc.codes/"
keywords=["iscc", "identifier", "media", "content", "hash", "blockchain", "similarity"]
[tool.poetry.urls]
"Changelog" = "https://schema.iscc.codes/changelog"
"Bug Tracker" = "https://github.com/iscc/iscc-schema/issues"
[tool.poetry.dependencies]
python = ">=3.7,<4.0.0"
pydantic = "*"
jcs = "^0.2"
[tool.poetry.dev-dependencies]
pytest = "*"
datamodel-code-generator = "*"
poethepoet = "*"
black = "*"
mkdocs-material = "^9.0"
PyLD = "*"
requests = "*"
[tool.black]
line-length = 100
target-version = ['py37']
preview = true
[tool.poe.tasks]
update = { cmd = "poetry update", help = "Update project dependencies"}
fromatyaml = { script = "tools.format_yaml:reformat", help = "Reformat yaml files"}
buildcode = { script = "tools.build_code:build", help = "Build code for API models"}
formatcode = { cmd = "black .", help = "Code style formating with black" }
buildterms = { script = "tools.build_terms:build", help = "Build markdown for terms" }
buildschema = { script = "tools.build_json_schema:build", help = "Generate JSON Schema" }
buildcontext = { script = "tools.build_json_ld_context:build", help = "Generate JSON-LD Context" }
builddocs = { script = "tools.build_docs:build", help = "Copy README.md to docs/index.md" }
test = { cmd = "pytest", help = "Run tests"}
all = ["fromatyaml", "buildcode", "formatcode", "buildterms", "buildschema", "buildcontext", "builddocs", "test"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"