-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
84 lines (75 loc) · 1.88 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
[project]
name = "darq-ui"
dynamic = ["version"]
description = "A UI for darq"
authors = [{ name = "m.kindritskiy", email = "[email protected]" }]
dependencies = [
"darq>=0.11.2",
"pydantic>=2.9.2",
]
requires-python = ">=3.10"
readme = "README.md"
license = { text = "BSD-3-Clause" }
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Software Development :: Libraries :: Python Modules',
]
[project.urls]
Repository = "https://github.com/evo-company/darq_ui"
Homepage = "https://github.com/evo-company/darq_ui"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project.optional-dependencies]
fastapi = ["fastapi>=0.115.0"]
aiohttp = ["aiohttp>=3.10.10"]
dev = ["mypy>=1.11.2", "ruff>=0.6.9"]
[tool.pdm]
distribution = true
[tool.pdm.version]
source = "file"
path = "src/darq_ui/__init__.py"
[tool.pdm.scripts]
mypy = "mypy {args:src/darq_ui}"
ruff = "ruff check {args:src/darq_ui} --fix"
ruff-fmt = "ruff format {args:src/darq_ui}"
check = { composite = ["ruff-fmt", "ruff", "mypy"] }
[tool.mypy]
files = ["src/darq_ui"]
python_version = "3.10"
check_untyped_defs = true
disallow_untyped_defs = true
follow_imports = "silent"
strict_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
show_error_codes = true
ignore_errors = false
[tool.ruff]
exclude = [
".eggs",
".git",
".mypy_cache",
".pytype",
".ruff_cache",
".tox",
".venv",
"__pypackages__",
"_build",
"build",
"dist",
"node_modules",
"venv",
".venv",
"__pycache__",
]
line-length = 80
target-version = "py310"