-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
90 lines (76 loc) · 1.89 KB
/
pyproject.toml
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
[project]
name = "sparsecoding"
version = "0.0.1"
# Authors are the current, primary stewards of the repo
# contributors can be found on github
authors = [
{ name = "Alex Belsten", email = "[email protected]" },
{ name = "Christian Shewmake", email = "[email protected]" },
]
description = "Pytorch infrasctructure for sparse coding."
readme = "README.md"
requires-python = ">=3.8"
# Trove classifiers: https://pypi.org/pypi?%3Aaction=list_classifiers
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
"Natural Language :: English",
]
dependencies = [
"matplotlib",
"numpy",
"scipy",
"torch",
"torchvision",
]
[project.optional-dependencies]
dev = [
"black==24.*",
"coverage",
"ipykernel",
"jupytext",
"nbconvert",
"pylint>=3.3.0",
"pyright",
"pytest",
]
tutorials = [
"jupyter",
"matplotlib",
"tqdm",
"scipy",
]
all = [
"sparsecoding[dev,tutorials]",
]
[project.urls]
"Homepage" = "sparsecoding.readthedocs.io"
"Bug Tracker" = "https://github.com/rctn/sparsecoding/issues"
[build-system]
requires = ["flit_core>=3.2"]
build-backend = "flit_core.buildapi"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = ["--tb=short"]
norecursedirs = ".git examples"
python_files = "*_test.py test_*.py"
log_cli = true
log_cli_level = "INFO"
log_cli_format = "\n%(asctime)s: %(levelname)s: %(filename)s:%(lineno)s::%(module)s::%(funcName)s:\n%(message)s"
log_cli_date_format = "%y-%m-%d %H:%M:%S"
[tool.pylint.format]
max-line-length = "120"
[tool.black]
line-length = 120
extend-exclude = "\\.ipynb"
[tool.pylint]
exclude = [".venv", ".vscode", "docs"]
[tool.pylance]
exclude = [".venv", ".vscode", "docs"]
[tool.pyright]
exclude = [".venv", ".vscode", "docs"]
[tool.isort]
line_length = 120
profile = "black"