-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (83 loc) 路 2.13 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (83 loc) 路 2.13 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
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "pyequilib"
dynamic = ["version"]
description = "equirectangular image processing with python using minimum dependencies"
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE"]
requires-python = ">=3.9"
authors = [
{ name = "Haruya Ishikawa", email = "haru.ishi43@gmail.com" },
]
keywords = ["Equirectangular", "Computer Vision"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"numpy",
"torch>=2.8",
]
[project.urls]
Homepage = "https://github.com/haruishi43/equilib"
Repository = "https://github.com/haruishi43/equilib"
Documentation = "https://haruishi43.github.io/equilib/"
[dependency-groups]
dev = [
"pytest",
"numba",
"scipy",
"opencv-python-headless",
"pillow",
"torchvision",
"matplotlib",
"ruff",
"pre-commit",
]
docs = [
"mkdocs-material",
"mkdocstrings[python]",
]
[tool.hatch.version]
path = "equilib/info.py"
[tool.hatch.build.targets.wheel]
packages = ["equilib"]
[tool.hatch.build.targets.sdist]
exclude = [
"/tests",
"/scripts",
"/benchmarks",
"/data",
"/results",
"/.github",
"/docs",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"
[tool.ruff]
line-length = 80
target-version = "py39"
[tool.ruff.lint]
# Keep the project's historically tolerant naming/style rules.
ignore = [
"E203", # whitespace before punctuation
"E501", # line too long (formatter handles wrapping)
"E721", # type-equality comparison (used intentionally for array-type detection)
"E731", # lambda assignment
"N802", # function name should be lowercase
"N803", # argument name should be lowercase
"N806", # variable in function should be lowercase
"N812", # lowercase imported as non-lowercase
"N817", # camelcase imported as acronym
]