-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
executable file
·134 lines (121 loc) · 3.21 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
[build-system]
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "pytximport"
description = "A python implementation of `tximport` to transform transcript into gene counts"
requires-python = ">=3.9"
license = { file = "LICENSE" }
authors = [{ name = "Malte Kuehl", email = "[email protected]" }]
readme = { file = "README.md", content-type = "text/markdown" }
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Intended Audience :: Science/Research",
"Intended Audience :: Healthcare Industry",
"Natural Language :: English",
"Typing :: Typed",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
]
dynamic = ["version"]
dependencies = [
"anndata>=0.8.0",
"click>=8.0.0,<9",
"click_default_group>=1.2.0,<2",
"flox>=0.9.0,<0.10.0",
"h5py>=3.0.0,<4",
"numpy>=1.19.0,<3",
"pandas>=2.2.0,<3",
"pybiomart==0.2.0",
"tqdm>=4.0.0,<5",
"xarray>=2024.0.0",
]
[project.optional-dependencies]
pyarrow = ["pyarrow"]
biocpy = ["biocframe", "dolomite", "dolomite-se", "summarizedexperiment"]
dev = [
"bandit",
"biocframe",
"black[jupyter]",
"certifi",
"coverage",
"dolomite",
"dolomite-se",
"flake8",
"flake8-comprehensions",
"flake8-docstrings",
"flit",
"furo",
"ipykernel",
"isort",
"jupyter-client",
"jupyter-core",
"mypy",
"myst-parser",
"nbsphinx",
"pandas-stubs",
"pandoc",
"pre-commit",
"pyarrow",
"pytest",
"sphinx",
"sphinx-autoapi",
"sphinx-autodoc-typehints",
"sphinx-copybutton",
"sphinx-design",
"sphinx-rtd-theme",
"summarizedexperiment",
"types-tqdm",
]
[project.scripts]
pytximport = "pytximport:cli"
[project.urls]
Home = "https://github.com/complextissue/pytximport"
Source = "https://github.com/complextissue/pytximport"
Documentation = "https://pytximport.readthedocs.io/en/stable/"
[tool.flit.sdist]
exclude = ["docs/*", "test/*"]
[tool.isort]
profile = "black"
src_paths = ["pytximport", "test"]
[tool.black]
line-length = 120
target-version = ["py39", "py310", "py311"]
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
warn_redundant_casts = true
disallow_untyped_defs = true
python_version = "3.11"
ignore_missing_imports = true
[tool.pytest.ini_options]
log_format = "%(asctime)s %(levelname)s %(message)s"
log_date_format = "%Y-%m-%d %H:%M:%S"
log_level = "WARN"
log_cli = "true"
markers = [
"no_github_ci: marks tests that should not be run on GitHub CI (deselect with '-m \"not no_github_ci\"')",
]
[tool.coverage.run]
source = ["pytximport"]
omit = ["*/test/*", "**/*/_cli.py"]
[tool.coverage.report]
exclude_lines = [
"if __name__ == __main__:",
"if TYPE_CHECKING:",
"raise",
"except",
"warning",
"def __repr__",
"def __str__",
"file_path = Path",
"return None",
] # don't complain if non-runnable code isn't run:
ignore_errors = true
[tool.coverage.html]
directory = "docs/coverage_report"