-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
92 lines (80 loc) · 2.33 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
[project]
name = "pyMCL"
description = "A python package to perform the Markov Cluster Algorithm (MCL)"
authors = [{name = "Tristen Jay Mier"}]
version = "0.1.0"
keywords = [
"mcl", "mcl algorithm", "Markov Cluster", "network",
"network communities", "network clustering",
"bioinformatics", "graph clustering",
]
requires-python = ">=3.9"
dependencies = [
"numpy >= 2.0",
"pandas >= 2.0",
]
readme = "README.md"
license = {"file" = "LICENSE"}
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
[project.optional-dependencies]
test = [
"pytest",
]
docs = [
"sphinx",
"sphinx_rtd_theme",
"sphinx-copybutton",
"nbsphinx",
"IPython",
"ipykernel",
"myst-parser",
]
[project.urls]
repository = "https://github.com/tjmier/pyMCL"
documentation = "https://www.example.com/docs"
[tool.ruff]
target-version = "py311"
select = [
"ALL", # include all the rules, including new ones
]
# The list of rules to ignore.
ignore = [
"COM812", # ignore missing trailing comma in a single-line list.
"D103", # ignore missing docstring in public function.
"D205", # ignore 1 blank line required between summary line and description.
"D212", # ignore multi-line docstring summary should start at the first line.
"D401", # ignore first line should be in imperative mood.
"TRY003", # ignore verbose exception messages in try/except blocks.
"RET504", # ignore missing return type in public"
"PLR0913", # ignore multiple imports on one line
]
# List of rules to ignore in testing directory
[tool.ruff.lint.per-file-ignores]
"tests/*" = [
"S101", # ignore use of assert
"ANN001", # ignore missing type annotation for self in method
'ANN201', # ignore missing type annotation for self in method
"E501", # ignore line too long
]
"docs/*" = [
"ALL", # ignore all rules in docs
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
exclude = [
"tests",
"environment.yaml",
# .github, .gitignore, .gitattributes
".git*",
]