-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
63 lines (55 loc) · 1.5 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
[build-system]
requires = ["setuptools","setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "slangpy"
version = "0.21.0"
authors = [
{name = "Chris Cummings", email = "[email protected]"},
{name = "Benedikt Bitterli", email = "[email protected]"},
{name = "Sai Bangaru", email = "[email protected]"},
{name = "Yong He", email = "[email protected]"}
]
description = "Easily call Slang functions and integrate with PyTorch auto diff directly from Python."
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"typing_extensions",
"numpy>=1.26.0",
"nv-sgl==0.13.0"
]
[tool.setuptools]
packages = ["slangpy"]
[tool.pyright]
include = ["./slangpy"]
extraPaths = ["./tests"]
pythonVersion = "3.10"
typeCheckingMode = "basic"
reportUnusedImport = "error"
reportMissingSuperCall = "error"
reportInvalidStringEscapeSequence = "error"
reportMissingParameterType = "error"
reportMissingTypeArgument = "warning"
[tool.autopep8]
in-place = true
max-line-length = 100
#ignore:
# pep8 defaults
# E731: lambda->def
ignore = "E226,E24,W50,W690,E731"
[tool.coverage.run]
branch = true
omit = ["slangpy/tests/*"]
[tool.coverage.report]
exclude_also = [
"if.*TYPE_CHECKING.*",
"except ImportError",
"raise NotImplementedError"
]
ignore_errors = true
[tool.coverage.html]
directory = "htmlcov"
[tool.isort]
known_slangpycore = ["slangpy.core"]
known_slangpy = ["slangpy"]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "SLANGPYCORE", "SLANGPY", "LOCALFOLDER"]