-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpyproject.toml
68 lines (58 loc) · 1.45 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
[project]
name = "dictdatabase"
version = "2.5.1"
description = "Easy-to-use database using dicts"
readme = "README.md"
authors = [{ name = "Marcel Kröker", email = "[email protected]" }]
license = { file = "LICENSE" }
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules"
]
requires-python = ">=3.8,<3.14"
dependencies = [
"orjson >= 3.9, <4.0",
]
[dependency-groups]
dev = [
"super-py ~= 0.4.2",
"pyinstrument ~= 4.4.0",
"pytest-cov ~= 4.0.0",
"path-dict ~= 3.0.4",
"ruff>=0.11.6",
]
[tool.setuptools]
packages = ["dictdatabase"]
license-files = [] # Workaround for https://github.com/astral-sh/uv/issues/9513
[tool.uv]
package = true
[tool.ruff]
show-fixes = true
line-length = 120
select = [
"ANN", # annotations
"B", # bugbear
"C", # comprehensions
"E", # style errors
"F", # flakes
"I", # import sorting
"M", # meta
"N", # naming
"U", # upgrade
"W", # style warnings
"YTT", # sys.version
]
ignore = [
"E501", # line length
"UP007", # use X | Y for union (not possible in python 3.8)
"UP006", # Use typing.Tuple for python 3.8 support
"W191", # indentation contains tabs
"E741", # ambiguous variable name
]
[tool.ruff.format]
indent-style = "tab"
quote-style = "double"