-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
111 lines (96 loc) · 2.69 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "hdmf_ai"
authors = [
{ name="Ryan Ly", email="[email protected]" },
{ name="Andrew Tritt", email="[email protected]" },
]
description = "A schema and API for storing the results from AI/ML workflows"
readme = "README.md"
requires-python = ">=3.7"
license = {text = "BSD-3-Clause-LBNL"}
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: BSD License",
"Development Status :: 4 - Beta",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
]
keywords = [
"python",
"cross-platform",
"open-data",
"data-format",
"open-source",
"open-science",
"reproducible-research",
"artificial-intelligence",
"machine-learning",
"data-standards",
]
dependencies = [
"hdmf>=3.5.1",
"numpy>=1.21",
"scikit-learn>=1",
]
version = "0.3.0"
# dynamic = ["version"]
[project.urls]
"Homepage" = "https://github.com/hdmf-dev/hdmf-ai"
"Bug Tracker" = "https://github.com/hdmf-dev/hdmf-ai/issues"
[tool.setuptools.package-data]
hdmf = ["src/hdmf_ai/schema/*.yaml"]
# [tool.mypy]
# no_incremental = true # needed b/c mypy and ruamel.yaml do not play nice. https://github.com/python/mypy/issues/12664
# [tool.interrogate]
# fail-under = 95
# verbose = 1
[tool.pytest.ini_options]
addopts = "--cov --cov-report html"
norecursedirs = "tests/unit/helpers"
[tool.codespell]
skip = "htmlcov,.git,.mypy_cache,.pytest_cache,.coverage,*.pdf,*.svg,venvs,.tox,./docs/_build/*,*.ipynb"
ignore-words-list = "datas"
[tool.coverage.run]
branch = true
source = ["src/hdmf_ai/"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"@abstract"
]
[tool.setuptools_scm]
[tool.black]
line-length = 120
preview = true
exclude = ".git|.mypy_cache|.tox|.venv|venv|.ipynb_checkpoints|_build/|dist/|__pypackages__|.ipynb"
# force-exclude = "docs/gallery"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "T100", "T201", "T203"]
exclude = [
".git",
".tox",
"__pycache__",
"build/",
"dist/",
"docs/source/conf.py",
"docs/source/tutorials/",
"docs/_build/",
]
[tool.ruff.lint.per-file-ignores]
"src/hdmf_ai/__init__.py" = ["E402", "F401"]
"example.py" = ["E501", "T201"]
[tool.ruff.lint.mccabe]
max-complexity = 17