-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
66 lines (55 loc) · 1.28 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
[tool.poetry]
name = "observ"
version = "0.15.0"
description = "Reactive state management for Python"
authors = [
"Korijn van Golen <korijn@gmail.com>",
"Berend Klein Haneveld <berendkleinhaneveld@gmail.com>",
]
license = "MIT"
homepage = "https://github.com/fork-tongue/observ"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.9"
patchdiff = "~0.3.4"
[tool.poetry.group.dev.dependencies]
ruff = "*"
pre-commit = "*"
pytest = "*"
pytest-benchmark = "*"
pytest-cov = "*"
pytest-timeout = "*"
twine = "*"
urllib3 = { version = "*", python = "<4" }
[tool.poetry.group.qt]
optional = true
[tool.poetry.group.qt.dependencies]
PySide6 = { version = ">=6.6", python = "<3.13" }
pytest-qt = "*"
pytest-xvfb = "*"
[tool.poetry.group.numpy]
optional = true
[tool.poetry.group.numpy.dependencies]
numpy = "*"
[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.per-file-ignores]
"__init__.py" = ["F401"]
"bench/*" = ["F821"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = "--benchmark-columns='mean, stddev, rounds'"
timeout = 3