-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
84 lines (69 loc) · 1.75 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
[project]
name = "txtox"
version = "0.0.1"
description = "Mapping transcriptomic profiles to anatomical coordinates"
readme = "README.md"
license = {text = "MIT License"}
authors = [
{name = "Rohan Gala", email = "[email protected]"},
]
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
]
requires-python = ">=3.8"
dependencies = [
"numpy",
"scipy",
"matplotlib",
"seaborn",
"pandas",
"scanpy",
"tqdm",
"rich",
"scikit-learn",
"timebudget",
"jupyterlab",
"ipywidgets",
"toml",
"anndata"]
[project.optional-dependencies]
dev=[
"build",
"pre-commit",
"ruff"
]
[project.urls]
Repository = "https://github.com/alleninstitute/txtox/"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["txtox"]
[tool.ruff]
line-length = 120
include = ["*.py", "*.pyi", "**/pyproject.toml", "*.ipynb"]
[tool.ruff.lint]
# See rules: https://beta.ruff.rs/docs/rules/
select = [
"I", # isort
"N", # pep8-naming
"NPY", # numpy
"RUF", # ruff-specific rules
]
ignore = [
"N803", # argument name should be lowercase; fine for matrices
"N806", # variable name should be lowercase; fine for matrices
"NPY002", # allow calls to np.random; could cause slightly different results
"N812",
"N816", # allow mixed case variable names
]
preview = true
[tool.ruff.format]
preview = true
[tool.ruff.lint.isort]
known-first-party = ["graphFeatureSelect"]
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]