-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (63 loc) · 1.93 KB
/
pyproject.toml
File metadata and controls
80 lines (63 loc) · 1.93 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
[project]
name = "pyaether"
version = "0.4.21"
description = "DSL for writing HTML user interfaces in Python."
authors = [{ name = "Saurabh Ghanekar", email = "ghanekarsaurabh8@gmail.com" }]
license = "BSD-2-Clause"
license-files = ["LICENSE"]
readme = "README.md"
urls = { homepage = "https://github.com/pyaether/aether", repository = "https://github.com/pyaether/aether", documentation = "https://github.com/pyaether/aether" }
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = ["pydantic>=2.10", "typing-extensions>=4"]
[dependency-groups]
dev = [
"click>=8.1",
"pre-commit>=4.0",
"rich>=13.9",
"ruff>=0.9",
"tomli>=2.2; python_version < '3.11'", # Note: Remove this when the 'requires-python' becomes ">=3.11"
]
test = ["pytest>=8.3", "pytest-cov>=6.0"]
[tool.uv]
default-groups = ["dev", "test"]
[[tool.uv.index]]
explicit = true
name = "testpypi"
publish-url = "https://test.pypi.org/legacy"
url = "https://test.pypi.org/simple"
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = [
# "D", # pydocstyle
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"S", # flake8-bandit
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG001", # unused arguments in functions
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"W191", # indentation contains tabs
"B904", # Allow raising exceptions without from e, for HTTPException
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.versioning]
backend = "uv"
[tool.versioning.files]
version_variable = ["src/aether/__init__.py:__version__"]
[tool.hatch.build.targets.wheel]
packages = ["src/aether"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"