Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (111 loc) · 2.81 KB
/
Copy pathpyproject.toml
File metadata and controls
118 lines (111 loc) · 2.81 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "fsctype"
version = "0.1.0"
description = "Fast single-cell type annotation using k-nearest neighbors"
readme = "README.md"
license = {file = "LICENSE"}
authors = [
{name = "Shahroze Abbas", email = "shahroze@datatecnica.com"},
]
maintainers = [
{name = "Shahroze Abbas", email = "shahroze@datatecnica.com"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
keywords = ["single-cell", "cell-type-annotation", "bioinformatics", "scanpy"]
requires-python = ">=3.10"
dependencies = [
"numpy>=1.23.0",
"scipy>=1.10.0",
"pandas>=2.0.0",
"anndata>=0.9.0",
]
[project.optional-dependencies]
scanpy = [
"scanpy>=1.8.0",
]
plotting = [
"matplotlib>=3.4.0",
"seaborn>=0.11.0",
]
dev = [
"pytest>=6.0",
"pytest-cov>=2.12",
"black>=21.0",
"flake8>=3.9",
"mypy>=0.900",
"pre-commit>=2.15",
"sphinx>=4.0",
"sphinx-rtd-theme>=1.0",
"scanpy>=1.8.0", # For testing
"matplotlib>=3.4.0", # For testing
]
docs = [
"sphinx>=4.0",
"sphinx-rtd-theme>=1.0",
"nbsphinx>=0.8",
"ipython>=7.0",
"scanpy>=1.8.0", # For examples
"matplotlib>=3.4.0", # For examples
]
test = [
"pytest>=6.0",
"pytest-cov>=2.12",
"scanpy>=1.8.0", # For testing neighbor computation
]
[project.urls]
Homepage = "https://github.com/shahrozeabbas/fsctype-python"
Repository = "https://github.com/shahrozeabbas/fsctype-python"
Documentation = "https://fsctype-python.readthedocs.io"
"Bug Tracker" = "https://github.com/shahrozeabbas/fsctype-python/issues"
[tool.setuptools.packages.find]
include = ["fsctype*"]
[tool.black]
line-length = 88
target-version = ['py310']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
strict_equality = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "--cov=fsctype --cov-report=html --cov-report=term-missing"