-
Notifications
You must be signed in to change notification settings - Fork 16
/
pyproject.toml
102 lines (88 loc) · 2.32 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
[build-system]
requires = ["hatchling", 'hatch-vcs']
build-backend = 'hatchling.build'
[project]
name = 'cirrocumulus'
description = 'Bring your single-cell data to life'
readme = 'README.rst'
authors = [
{ name = 'Joshua Gould', email = 'cirrocumulus@googlegroups.com' },
]
urls.Source = 'https://github.com/lilab-bcb/cirrocumulus'
urls.Documentation = "https://cirrocumulus.readthedocs.io/"
license = { file = 'LICENSE' }
dynamic = ['version']
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
'Intended Audience :: Science/Research',
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: PyPy",
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Visualization'
]
requires-python = '>=3.9'
dependencies = [
"anndata",
"CacheControl",
"flask",
"flask-compress",
"fsspec",
"gunicorn",
"numpy",
"pandas",
"pymongo",
"requests",
"scipy",
"zarr"
]
[project.optional-dependencies]
parquet = [
'pyarrow',
]
test = [
'pytest',
'scanpy',
'mongomock',
]
[tool.hatch.build.targets.sdist]
only-include = ["cirrocumulus", "build"]
[tool.hatch.build.targets.wheel]
[tool.hatch.version]
source = 'vcs'
dev = ['pre-commit', 'isort', 'black']
[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 = 'tests/'
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'
[project.scripts]
cirro = 'cirrocumulus.__main__:main'