-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
117 lines (97 loc) · 2.89 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[tool.poetry]
name = "jaxrenderer"
version = "0.3.2"
description = "Jax implementation of rasterizer renderer."
authors = ["Joey Teng <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://github.com/JoeyTeng/jaxrenderer"
repository = "https://github.com/JoeyTeng/jaxrenderer"
classifiers = [
"Topic :: Multimedia :: Graphics :: 3D Rendering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Visualization",
"Development Status :: 3 - Alpha",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Natural Language :: Chinese (Simplified)",
"Natural Language :: English",
"Typing :: Typed",
]
packages = [
{ include = "renderer" },
]
include = [
"LICENSE",
"README.md",
"changelog.md",
"pyproject.toml",
]
[tool.poetry.dependencies]
python = "^3.8"
jax = "^0.4.0"
numpy = "^1.22.0"
jaxlib = {version = "^0.4.0", source = "jax"}
jaxtyping = [
{version = ">=0.2.13,<0.2.20", python = ">=3.8,<3.9"},
{version = "^0.2.19", python = "^3.9"}
]
importlib-metadata = "^6.6.0"
typing_extensions = "^4.3.0"
[tool.poetry.group.dev.dependencies]
matplotlib = "^3.6.2"
pillow = "^9.4.0"
importlib-resources = "^5.12.0"
[tool.poetry.group.test.dependencies]
pre-commit = "^3.3.3"
pytest = "^7.0.0"
tox = "^4.0.0"
[[tool.poetry.source]]
name = "jax"
url = "https://storage.googleapis.com/jax-releases/jax_releases.html"
priority = "explicit"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/JoeyTeng/jaxrenderer/issues"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
[tool.isort]
profile = "black"
py_version= 311
src_paths = ["renderer", "examples", "test_resources", "tests"]
line_length = 88
combine_star = true
order_by_type = true
case_sensitive = true
force_sort_within_sections = true
split_on_trailing_comma = true
only_modified = true
skip_gitignore = true
[tool.black]
target-versions = ["py38", "py39", "py310", "py311"]
required-version = 23
[tool.pyright]
include = ["renderer", "examples", "test_resources", "tests"]
exclude = ["typings/**", ".*/**", "**/node_modules", "**/__pycache__"]
typeCheckingMode = "strict"
pythonVersion = "3.11"
pythonPlatform = "All"
executionEnvironments = [
{ root = ".", pythonVersion = "3.11", pythonPlatform = "All" },
]
reportCallInDefaultInitializer = "information"
reportImplicitOverride = "information"
reportImplicitStringConcatenation = "none"
reportImportCycles = "error"
reportMissingSuperCall = "information"
reportPropertyTypeMismatch = "information"
reportShadowedImports = "warning"
reportUninitializedInstanceVariable = "warning"
reportUnnecessaryTypeIgnoreComment = "warning"
reportUnusedCallResult = "information"