-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
89 lines (77 loc) · 2.09 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "talus_drc_helper"
authors = [
{name = "Sebastian Paez", email = "[email protected]"},
]
description = "A tool to help managing, generating and sharing dose-response curves"
requires-python = ">=3.9,<=3.11"
license = {text = "Apache 2.0"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
dependencies = [
"pandas >= 1.5.2",
"numpy >= 1.23.5",
"streamlit",
"loguru >= 0.6.0",
"uniplot >= 0.9.1",
"scipy",
"scikit-learn",
"openpyxl",
"beautifulsoup4",
"matplotlib",
"vizta",
"lxml",
]
dynamic = ["version"]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.optional-dependencies]
test = [
"pytest >= 7.2.0",
"pytest-datadir >= 1.4.1",
"pytest-cov >= 4.0.0",
]
dev = [
"black",
"ruff",
"ipykernel",
]
[tool.setuptools.packages.find]
include = ["src"]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--doctest-modules -v"
testpaths = [
"talus_drc_helper",
"tests",
]
[tool.ruff]
line-length = 88
select = ["E", "F", "W", "C", "I", "D", "UP", "N", "ANN", "T20"]
# ANN101 Missing type annotation for `self` in method
# D213 Multi-line docstring summary should start at the second lin
# D203 1 blank line required before class docstring
# D100 Missing docstring in public module
# ANN102 Missing type annotation for `cls` in classmethod
# D401 First line of docstring should be in imperative mood
ignore = ["D213", "ANN101", "D203", "D100", "ANN102", "D401"]
fix = true
[tool.ruff.per-file-ignores]
"talus_drc_helper/__init__.py" = ["D104"]
"tests/*.py" = ["ANN"]
"talus_drc_helper/fit.py" = ["N806", "N803"]
# To maintain consisetency with the sklearn api,
# I am ignoring capitalization of variables in that file.
# X is used A LOT thoughout the API
[tool.black]
line-length = 88
target-version = ['py39', 'py310']
preview = true