-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (90 loc) · 2.47 KB
/
pyproject.toml
File metadata and controls
104 lines (90 loc) · 2.47 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "align-app"
version = "1.0.0"
description = "Web app showcasing an AI system designed to make decisions in scenarios where no single right answer exists."
authors = ["Paul Elliott"]
license = "Apache Software License"
readme = "README.md"
keywords = ["Python", "Interactive", "Web", "Application", "Framework"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
]
packages = [{include = "align_app"}]
include = [
"align_app/**/*.js",
"align_app/**/*.css",
]
[[tool.poetry.source]]
name = "pytorch"
url = "https://download.pytorch.org/whl/cu118"
priority = "supplemental"
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
trame = ">=3.7.1"
trame-vuetify = "*"
hydra-core = "*"
omegaconf = "*"
align-system = {git = "https://github.com/ITM-Kitware/align-system.git", rev = "7705074498591c9d20a4c6d098a0a4f7d5747613"}
rapidfuzz = "^3.0.0"
align-utils = "^1.5.0"
trame-alerts = {version = "*", extras = ["vuetify"]}
[tool.poetry.group.app.dependencies]
pywebview = "*"
[tool.poetry.group.jupyter.dependencies]
jupyterlab = "*"
[tool.poetry.group.dev.dependencies]
pre-commit = "*"
ruff = "*"
pytest = "*"
mypy = "*"
types-PyYAML = "*"
pytest-playwright = "*"
psutil = "*"
[tool.poetry.scripts]
align-app = "align_app.app:main"
[tool.semantic_release]
version_variables = [
"align_app/__init__.py:__version__",
]
version_toml = [
"pyproject.toml:tool.poetry.version",
]
build_command = """
python -m venv .venv
source .venv/bin/activate
pip install -U pip poetry
poetry build
"""
[semantic_release.publish]
dist_glob_patterns = ["dist/*"]
upload_to_vcs_release = true
[tool.ruff]
line-length = 88
indent-width = 4
target-version = "py39"
[tool.ruff.lint]
select = ["E", "W", "F"]
ignore = []
fixable = ["ALL"]
unfixable = []
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = true
docstring-code-line-length = "dynamic"
[tool.ruff.lint.pycodestyle]
max-line-length = 120
[tool.ruff.lint.pydocstyle]
convention = "google"