-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
86 lines (64 loc) · 1.6 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
85
86
[build-system]
requires = ["flit_core >=3.7.1,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "bigdict"
authors = [
{name = "Zepu Zhang", email = "[email protected]"},
]
dependencies = [
"lmdb",
]
requires-python = ">=3.10"
readme = "README.rst"
license = {file = "LICENSE"}
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dynamic = ['version', 'description']
# On Mac, you may need to install `lmdb` separately with the env `LMDB_PURE=1`.
[project.urls]
Source = "https://github.com/zpz/bigdict"
[project.optional-dependencies]
doc = [
"sphinx",
"numpydoc",
"pydata-sphinx-theme",
]
test = [
"genutility",
"pytablewriter",
"lmdbm",
"rich",
"Faker",
"zpz",
]
[tool.ruff]
target-version = "py310"
exclude = ["tests/benchmark"]
[tool.ruff.lint]
select = ["E", "F", "S", "I001"] # isort
ignore = ["E501", "S101", "S102", "S103", "S104", "S108", "S301", "S311", "S608"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F401"]
[tool.ruff.format]
quote-style = "single"
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests"]
addopts = "-sv --log-cli-level info -p no:cacheprovider --tb=short --ignore=tests/data010 --ignore=tests/benchmark --durations 3"
[tool.coverage.report]
fail_under = 85
show_missing = true
skip_empty = true
exclude_also = [
"def __repr__",
"def __str__",
"raise NotImplementedError",
"@(abc\\.)?abstractmethod",
]
[tool.coverage.run]
source = ["bigdict"]
data_file = "/tmp/.coverage"