-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
77 lines (68 loc) · 1.54 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
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "PyGRidge"
authors = [
{name = "Jordan Deklerk", email = "[email protected]"},
]
description = "A Python package for group ridge regression"
readme = "README.md"
requires-python = ">=3.7"
keywords = ["ridge regression", "group regression", "machine learning"]
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
]
dependencies = [
"numpy",
"scipy",
"pandas",
"scikit-learn>=1.0.0",
]
dynamic = ["version"]
[project.optional-dependencies]
test = ["pytest"]
[tool.setuptools_scm]
write_to = "src/PyGRidge/_version.py"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.pytest.ini_options]
addopts = "-ra -q"
testpaths = [
"test",
]
pythonpath = [
"src"
]
[tool.black]
line-length = 88
target-version = ['py39', 'py310', 'py311']
preview = true
exclude = '''
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.mypy_cache
| \.vscode
| build
| dist
| doc/_build
| doc/auto_examples
| sklearn/externals
| asv_benchmarks/env
)/
'''
[tool.ruff]
select = ["E", "F", "I"]
ignore = []
line-length = 88
target-version = "py37"
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.isort]
known-first-party = ["PyGRidge"]