-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
63 lines (56 loc) · 1.23 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
[project]
name = "observ"
version = "0.15.0"
description = "Reactive state management for Python"
authors = [
{ name = "Korijn van Golen", email = "[email protected]" },
{ name = "Berend Klein Haneveld", email = "[email protected]" },
]
requires-python = ">=3.9"
readme = "README.md"
license = "MIT"
dependencies = ["patchdiff~=0.3.4"]
[project.urls]
Homepage = "https://github.com/fork-tongue/observ"
[dependency-groups]
dev = [
"ruff",
"pre-commit",
"pytest",
"pytest-benchmark",
"pytest-cov",
"pytest-timeout",
"twine",
"urllib3 ; python_version < '4'",
]
ruff = ["ruff"]
qt = [
"PySide6>=6.6.2,!=6.8.3 ; python_version < '3.14'",
"pytest-qt",
"pytest-xvfb",
]
numpy = ["numpy"]
[tool.uv]
default-groups = ["dev"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff.lint]
select = [
"E4",
"E5",
"E7",
"E9",
"F", # Pyflakes (default)
"I", # isort imports
"N", # pep8-naming
"T10", # flake8-debugger
"T20", # flake8-print
"RUF", # ruff
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"bench/*" = ["F821"]
[tool.pytest.ini_options]
addopts = "--benchmark-columns='mean, stddev, rounds'"
timeout = 3