-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
139 lines (123 loc) · 3.23 KB
/
pyproject.toml
File metadata and controls
139 lines (123 loc) · 3.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
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
132
133
134
135
136
137
138
139
[build-system]
requires = ["hatchling>=1.26.1"]
build-backend = "hatchling.build"
[project]
name = "materializationengine"
version = "5.16.6"
description = "Combines DynamicAnnotationDB and PyChunkedGraph"
readme = "README.md"
requires-python = "==3.12.*"
dependencies = [
"caveclient>=7.7.0",
"cloud-volume>=8.5.4",
"pillow>=8.3.2",
"psutil>=5.6.6",
"cloud-files>=4.6.1",
"pandas",
"flask>=2.0.2,<3.0",
"SQLAlchemy<1.4",
"flask-sqlalchemy",
"jsonschema",
"multiwrapper",
"requests>=2.26.0",
"middle-auth-client>=3.19.0",
"marshmallow-sqlalchemy",
"flask-marshmallow==0.14.0",
"Flask-Admin",
"Flask-Cors",
"flask-restx",
"flask-accepts",
"geoalchemy2>=0.9.2",
"alembic",
"celery>=5.2.3",
"cachetools",
"gevent",
"gcsfs>=0.8.0",
"pyarrow",
"flask_cors",
"numpy>=1.20",
"emannotationschemas>=5.25.1",
"dynamicannotationdb>=5.13.1",
"nglui>=3.2.1,<4",
"Flask-Limiter[redis]",
"cryptography>=44.0.2",
"uwsgi>=2.0.30",
"kvdbclient[extensions]",
]
authors = [
{ name = "Forrest Collman", email = "forrestc@alleninstitute.org" },
{ name = "Derrick Brittain", email = "derrickb@alleninstitute.org" }
]
classifiers = [
"License :: OSI Approved :: MIT License",
]
[dependency-groups]
dev = [
"pytest",
"pytest-cov",
"pytest-env",
"ipykernel",
"bump-my-version",
"docker",
"pyOpenSSL",
]
docs = [
"mkdocs",
"mkdocs-material",
"mkdocstrings[python]",
]
lint = [
"ruff"
]
profile = [
"scalene",
"pyinstrument",
]
[tool.uv]
default-groups = ["dev", "docs", "lint", "profile"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.bumpversion]
current_version = "5.16.6"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
tag = true
sign_tags = false
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = false
commit = true
message = "v{new_version}"
commit_args = ""
pre_commit_hooks = ['uv sync', 'git add uv.lock']
post_commit_hooks = ["./.bmv-post-commit.sh"]
[[tool.bumpversion.files]]
filename = "materializationengine/__init__.py"
[[tool.bumpversion.files]]
filename = "pyproject.toml"
[tool.ruff]
extend-exclude = ["*.ipynb"]
[tool.ruff.lint]
select=["E9","F63","F7","F82"]
[tool.poe.tasks.drybump]
cmd = "uv run bump-my-version bump --dry-run --verbose"
help = "Dry run of version bump for the project. Use with 'patch', 'minor', or 'major' to specify the version change."
[tool.poe.tasks.bump]
cmd = "uv run bump-my-version bump"
help = "Bump the version number in the project. Use with 'patch', 'minor', or 'major' to specify the version change."
[tool.poe.tasks.test]
cmd = "uv run pytest --cov=materializationengine tests"
help = "Run pytest with code coverage."
[tool.poe.tasks.doc-preview]
cmd = "uv run mkdocs serve"
help = "Preview documentation build locally"
[tool.poe.tasks.profile-all]
cmd = "uv run scalene"
help = "Profile cpu and memory of task with scalene"
[tool.poe.tasks.profile]
cmd = "uv run pyinstrument -r html"
help = "Profile cpu of task with pyinstrument"