File size: 1,232 Bytes
a54f9b5 |
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 |
[project]
name = "sharp"
version = "0.1"
description = "Inference/Network/Model code for SHARP view synthesis model."
readme = "README.md"
dependencies = [
"click",
"gsplat",
"imageio[ffmpeg]",
"matplotlib",
"pillow-heif",
"plyfile",
"scipy",
"timm",
"torch",
"torchvision",
]
[project.scripts]
sharp = "sharp.cli:main_cli"
[project.urls]
Homepage = "https://github.com/apple/ml-sharp"
Repository = "https://github.com/apple/ml-sharp"
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pyright]
include = ["src"]
exclude = [
"**/node_modules",
"**/__pycache__",
]
pythonVersion = "3.12"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = [
"tests"
]
filterwarnings = [
"ignore::DeprecationWarning"
]
[tool.lint.per-file-ignores]
"__init__.py" = ["F401", "D100", "D104"]
[tool.ruff]
line-length = 100
lint.select = ["E", "F", "D", "I"]
lint.ignore = ["D100", "D105",
# Imperative mood of docstring.
"D401",
]
extend-exclude = [
"*external*",
"third_party",
]
src = ["sharp"]
target-version = "py39"
[tool.ruff.lint.pydocstyle]
convention = "google"
|