-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
131 lines (114 loc) · 3.09 KB
/
pyproject.toml
File metadata and controls
131 lines (114 loc) · 3.09 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
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "aquacal"
version = "1.5.0"
description = "Refractive multi-camera calibration for underwater arrays with Snell's law modeling"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "Tucker Lancaster"}
]
keywords = ["calibration", "multi-camera", "underwater", "refraction", "computer-vision", "charuco"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Image Recognition",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"numpy",
"scipy",
"opencv-python>=4.6",
"pyyaml",
"matplotlib",
"pandas",
"requests",
"tqdm",
"natsort>=8.4.0",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"ruff",
"pre-commit",
"python-semantic-release",
]
docs = [
"sphinx>=6.2",
"furo",
"myst-parser",
"sphinx-copybutton",
"sphinx-design",
"nbsphinx>=0.9.8",
"sphinxcontrib-mermaid",
"ipython",
]
[project.urls]
Homepage = "https://github.com/tlancaster6/AquaCal"
Documentation = "https://aquacal.readthedocs.io"
Repository = "https://github.com/tlancaster6/AquaCal"
Issues = "https://github.com/tlancaster6/AquaCal/issues"
[project.scripts]
aquacal = "aquacal.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
aquacal = [
"datasets/data/**/*.json",
]
[tool.pytest.ini_options]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
[tool.ruff]
line-length = 88
target-version = "py310"
exclude = [".git", ".venv", "__pycache__", "build", "dist", "*.ipynb"]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "W", "I"]
ignore = []
fixable = ["ALL"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"tests/**/*.py" = ["E501"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.coverage.run]
source = ["src/aquacal"]
omit = ["*/tests/*", "*/test_*.py", "*/__pycache__/*"]
[tool.coverage.report]
precision = 2
show_missing = true
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@abstractmethod",
]
[tool.semantic_release]
version_toml = ["pyproject.toml:project.version"]
branch = "main"
commit_message = "chore(release): {version}"
build_command = "python -m build"
tag_format = "v{version}"
[tool.semantic_release.commit_parser_options]
allowed_tags = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "refactor", "style", "test"]
minor_tags = ["feat"]
patch_tags = ["fix", "perf"]
[tool.semantic_release.remote.token]
env = "GH_TOKEN"