Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (51 loc) · 1.47 KB
/
Copy pathpyproject.toml
File metadata and controls
62 lines (51 loc) · 1.47 KB
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
[build-system]
requires = ["setuptools", "setuptools-scm", "cffi>=1.0.0", "pkgconfig"]
build-backend = "setuptools.build_meta"
[project]
name = "vaccel"
description = "Python bindings for vaccel"
requires-python = ">=3.10"
authors = [{ name = "Nubificus Ltd." }]
readme = "README.md"
license = "Apache-2.0"
dependencies = ["cffi>=1.0.0", "pkgconfig"]
dynamic = ["version"]
[project.urls]
"Source Code" = "https://github.com/nubificus/python-vaccel"
[project.optional-dependencies]
test = ["pytest", "pytest-cov", "numpy"]
test-full = ["pytest", "pytest-cov", "numpy", "torch>=2.5.0"]
dev = ["pytest", "pytest-cov", "numpy", "ruff"]
dev-full = ["pytest", "pytest-cov", "numpy", "ruff", "torch>=2.5.0"]
[tool.setuptools.packages.find]
include = ["vaccel*"]
[tool.setuptools_scm]
version_file = "vaccel/_version.py"
version_scheme = "no-guess-dev"
fallback_version = "0.0.1"
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests"]
pythonpath = ["."]
[tool.ruff]
line-length = 80
[tool.ruff.lint]
extend-select = ["ALL"]
ignore = [
"ANN202",
"ANN204",
"ANN401",
"COM812",
"D105",
"PLR0913",
"SLF001",
"TD002",
"TD003",
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"tests/**.py" = ["ANN001", "ANN201", "D", "INP001", "PLR2004", "S101", "S311", "S603"]
"examples/**.py" = ["ANN001", "ANN201", "D", "INP001", "T201"]
"run-examples.py" = ["ANN001", "ANN201", "D", "INP001", "S603", "T201"]
"build_ffi.py" = ["ANN001", "ANN201", "S603"]