-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
65 lines (59 loc) · 1.85 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
[tool.poetry]
name = "twinspect"
version = "0.1.0"
description = ""
authors = ["Titusz <tp@py7.de>"]
readme = "README.md"
[tool.poetry.scripts]
twinspect = 'twinspect.__main__:app'
[tool.poetry.dependencies]
python = "^3.11"
remotezip = "^0.12.1"
datamodel-code-generator = "^0.18.0"
poethepoet = "^0.19.0"
rich = "^13.3.4"
loguru = "^0.6"
python-dotenv = "^1.0.0"
pydub = "^0.25.1"
codetiming = "^1.4.0"
blake3 = "^0.3.3"
pandas = "^2.0.1"
hexhamming = "^2.2.3"
matplotlib = "^3.7.1"
more-itertools = "^9.1.0"
httpx = "^0.24.0"
typer = "^0.9.0"
faiss-cpu = "^1.7.4"
httpx-cache = "^0.9.0"
ruamel-yaml = "^0.17.24"
mkdocs-material = "^9.1"
mkdocs-git-revision-date-localized-plugin = "*"
mkdocs-glightbox = "*"
jinja2 = "^3.1.2"
jmespath = "^1.0.1"
mdformat = "*"
mdformat-admon = "^1.0.1"
mdformat-tables = "^0.4.1"
iscc-sdk = "^0.5.9"
[tool.datamodel-codegen]
input = "twinspect/schema.yml"
output = "twinspect/schema.py"
input-file-type = "openapi"
encoding = "UTF-8"
disable-timestamp = true
target-python-version = "3.11"
[tool.black]
skip-string-normalization = false
line-length = 100
target-version = ['py311']
[tool.poe.tasks]
format-yaml = { script = "twinspect.dev:format_yml", help = "Format all yaml files"}
validate-schema = { cmd = "openapi-spec-validator twinspect/schema.yml", help = "Validate OpenAPI Schema"}
generate-code = { cmd = "datamodel-codegen", help="Build code from OpenAPI Schema"}
format-code = { cmd = "poetry run black .", help = "Code style formating with black" }
format-md = { script = "twinspect.dev:format_md", help = "Markdown formating with mdformat" }
fix-line-endings = { script = "twinspect.dev:fix_line_endings", help = "Convert line endings to LF"}
all = ["format-yaml", "validate-schema", "generate-code", "format-code", "format-md", "fix-line-endings"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"