-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
81 lines (71 loc) · 1.79 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
[build-system]
requires = ["setuptools>=65", "setuptools_scm[toml]>=7"]
build-backend = "setuptools.build_meta"
[project]
name = "vipickle"
description = "vipickle is a tiny python package for saving instances with unpickable attributes"
authors = [
{ name = "Hakim Cheikh", email = "[email protected]" },
]
license = { file = "LICENSE" }
readme = "README.md"
requires-python = ">=3.8,<4.0"
dependencies = ["loguru", "orjson"]
dynamic = ["version"]
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[project.urls]
homepage = "https://github.com/h4c5/vipickle"
documentation = "https://h4c5.github.io/vipickle"
repository = "https://github.com/h4c5/vipickle"
"Bug Tracker" = "https://github.com/h4c5/vipickle/issues"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools_scm]
write_to = "src/vipickle/_version.py"
[project.optional-dependencies]
dev = [
"black",
"ruff",
"bandit[toml]",
"pytest>=7.0",
"pytest-cov>=3.0",
"pytest-datadir>=1.0",
"numpy"
]
test = [
"pytest>=7.0",
"pytest-cov>=3.0",
"pytest-datadir>=1.0",
"nox>=2022",
"numpy"
]
doc = [
"mkdocs-material>=8.0",
"mkdocstrings[python]",
"mkdocs-gen-files",
"mkdocs-literate-nav",
"mkdocs-section-index",
]
[project.scripts]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --cov=vipickle --cov-fail-under=80 --cov-config=.coveragerc"
[tool.ruff]
src = ["src"]
select = [
"E",
"F",
"D",
]
[tool.ruff.pydocstyle]
convention = "google"
[tool.bandit]
exclude_dirs = ["tests"]
skips = ["B403", "B301"] # skip pickle related issues