-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (63 loc) · 1.23 KB
/
pyproject.toml
File metadata and controls
72 lines (63 loc) · 1.23 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
[tool.poetry]
name = "Overcomplete"
version = "0.3.0"
description = "Toolbox for experimenting with (Overcomplete) Dictionary Learning for Vision model"
authors = ["Thomas Fel <tfel@g.harvard.edu>"]
license = "MIT"
readme = "README.md"
# requirements
[tool.poetry.dependencies]
python = ">=3.8,<3.13"
numpy = "*"
matplotlib = "*"
scikit-learn = "^1.2.0"
scikit-image = "*"
einops = "*"
opencv-python = "*"
torch = "*"
torchvision = "*"
timm = "*"
scipy = "*"
# requirements dev
[tool.poetry.group.dev.dependencies]
tox = "*"
ruff = "*"
pytest = "*"
pytest-cov = "*"
pylint = "*"
bumpversion = "*"
mkdocs = "*"
mkdocs-material = "*"
numkdoc = "*"
# versioning
[tool.bumpversion]
current_version = "0.3.0"
commit = true
tag = true
[tool.bumpversion.file]
"pyproject.toml" = {}
"overcomplete/__init__.py" = {}
# ruff configs
[tool.ruff]
line-length = 120
[tool.ruff.lint]
ignore = [
"F401",
"D205",
"D200",
"D204",
"D401",
]
extend-select = [
"UP", # pyupgrade
"D", # pydocstyle
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
# retain setuptools find logic
[tool.setuptools.packages.find]
where = ["."]
# poetry build configs
[build-system]
requires = ["poetry-core>=1.1.0"]
build-backend = "poetry.core.masonry.api"