-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (85 loc) · 2.29 KB
/
Copy pathpyproject.toml
File metadata and controls
95 lines (85 loc) · 2.29 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
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "decepticons"
version = "0.1.3"
description = "A backend-neutral kernel of predictive primitives for descendant systems."
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
authors = [
{name = "Decepticons contributors"},
]
dependencies = [
"numpy>=1.26",
]
keywords = [
"predictive-coding",
"reservoir-computing",
"sequence-modeling",
"compression",
"bytes",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Typing :: Typed",
]
[project.urls]
Homepage = "https://decepticons.win"
Repository = "https://github.com/asuramaya/decepticons"
Issues = "https://github.com/asuramaya/decepticons/issues"
Changelog = "https://github.com/asuramaya/decepticons/blob/main/CHANGELOG.md"
Documentation = "https://github.com/asuramaya/decepticons/tree/main/docs"
[project.scripts]
decepticons = "decepticons.cli:main"
[project.optional-dependencies]
torch = [
"torch>=2.0",
]
metal = [
"mlx>=0.25",
]
test = [
"pytest>=8.0",
]
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
target-version = "py311"
line-length = 120
src = ["src"]
exclude = ["examples/"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"S", # flake8-bandit (security)
]
ignore = [
"E501", # line length (handled by formatter)
"E402", # module-level import not at top — needed for sys.path setup in tests
"S101", # assert in non-test code
"S603", # subprocess without shell=True — checked manually
"S607", # partial executable path
"B905", # zip without strict
"SIM102", # collapsible if — readability over compactness
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101", "S106"]