-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
121 lines (110 loc) · 2.51 KB
/
pyproject.toml
File metadata and controls
121 lines (110 loc) · 2.51 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "holopaswin"
version = "0.1.0"
description = "Physics-Aware Swin Transformer for eliminating twin-image artifacts in in-line holography"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "Gökhan Koçmarlı", email = "hello@gyokhan.com"}
]
keywords = [
"holography",
"deep-learning",
"computer-vision",
"physics-aware",
"swin-transformer",
"twin-image",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Image Processing",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"torch>=2.0.0",
"torchvision>=0.15.0",
"numpy>=1.24.0",
"timm>=1.0.0",
"scikit-image>=0.20.0",
"matplotlib>=3.7.0",
"tqdm>=4.65.0",
"pandas>=2.3.3",
"pyarrow>=22.0.0",
]
[project.optional-dependencies]
dev = [
"ruff>=0.14.0",
"mypy>=1.0.0",
]
jupyter = [
"jupyter>=1.0.0",
"ipykernel>=6.0.0",
"notebook>=6.5.0",
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
ignore = [
"T201", # Use `logger.info` instead of `print`
"E501", # line too long (handled by formatter)
"B008", # do not perform function calls in argument defaults
"D213",
"D203",
"D413",
"COM812", # Formatter will handle this
"PTH207", # OK to use glob
"PTH118", # OK to use os path join.
"PTH110",
"EM102",
"TRY003",
"NPY002",
"FBT002",
"FBT001",
"RET504",
]
select = [
"ALL",
]
fixable = ["ALL"]
unfixable = []
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false
docstring-code-line-length = "dynamic"
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
check_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
strict_equality = true
[[tool.mypy.overrides]]
module = [
"torchvision.*",
]
ignore_missing_imports = true
[dependency-groups]
dev = [
"mypy>=1.19.0",
"ruff>=0.14.9",
"types-tqdm>=4.67.0.20250809",
]