-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
90 lines (77 loc) · 2.07 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "backedarray"
description = "Sparse and dense arrays backed by on-disk storage in Zarr or HDF5"
readme = "README.rst"
authors = [
{ name = "Joshua Gould" },
]
license = { file = "LICENSE" }
dynamic = ["version"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"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 :: Implementation :: PyPy",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules"
]
requires-python = ">=3.7"
dependencies = [
"h5py",
"numpy",
"scipy",
"zarr"
]
[project.optional-dependencies]
test = [
"pytest",
]
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/docs",
"tests"
]
[tool.hatch.build.targets.wheel]
[tool.hatch.version]
source = "vcs"
[tool.black]
line-length = 100
include = "\\.pyi?$"
[tool.docformatter]
include = "\\.pyi?$"
[tool.isort]
profile = "black"
length_sort_straight = true
line_length = 100
lines_after_imports = 2
[tool.flake8]
max-line-length = 100
include = "\\.pyi?$"
ignore = [
"E731", # Do not assign a lambda expression, use a def
"E203", # whitespace before ":"
"W503", # line break before binary operator ==
"E501", # Line too long (82 > 79 characters)
"E722", # Do not use bare except, specify exception instead
]
[tool.pytest.ini_options]
python_files = "test_*.py"
testpaths = ["backedarray"]
xfail_strict = true
log_format = "%(asctime)s %(levelname)s %(message)s"
log_date_format = "%Y-%m-%d %H:%M:%S"
log_cli = true
log_cli_level = "INFO"