-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
101 lines (93 loc) · 3.14 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
[build-system]
requires = ["scikit-build-core>=0.3.3", "pybind11"]
build-backend = "scikit_build_core.build"
[project]
name = "sortedl1"
version = "0.2.3"
description = "Sorted L-One Penalized Estimation"
readme = "README.md"
maintainers = [{ name = "Johan Larsson", email = "[email protected]" }]
authors = [
{ name = "Johan Larsson", email = "[email protected]" },
{ name = "Mathurin Massias", email = "[email protected]" },
{ name = "Quentin Klopfenstein" },
{ name = "Jonas Wallin", email = "[email protected]" },
{ name = "Malgorzata Bogdan" },
{ name = "Ewout van den Berg" },
{ name = "Chiarai Sabatti" },
{ name = "Emmanuel Candes" },
{ name = "Evan Patterson" },
{ name = "Weijie Su" },
]
license = { file = "LICENSE" }
keywords = ["statistics", "machine-learning"]
requires-python = ">=3.7"
dependencies = ["numpy>=1.20", "scikit-learn>=1.0", "scipy>=0.18.0"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: C++",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
]
[project.urls]
homepage = "https://github.com/jolars/sortedl1"
documentation = "https://jolars.github.io/sortedl1/"
changelog = "https://github.com/jolars/sortedl1/blob/main/CHANGELOG.md"
tracker = "https://github.com/jolars/sortedl1/issues"
[project.optional-dependencies]
docs = ["sphinx", "furo", "sphinx-copybutton", "myst-parser"]
tests = ["pytest", "sphinx"]
[tool.scikit-build]
build-dir = "build/{wheel_tag}"
cmake.minimum-version = "3.15"
minimum-version = "0.5"
wheel.expand-macos-universal-tags = true
wheel.license-files = ["LICENSE"]
sdist.exclude = [".github"]
[tool.scikit-build.cmake.define]
CMAKE_CXX_STANDARD = "17"
CMAKE_CXX_STANDARD_REQUIRED = "ON"
[tool.ruff.lint]
extend-select = [
"B", # flake8-bugbear
"I", # isort
"ARG", # flake8-unused-arguments
"C4", # flake8-comprehensions
"EM", # flake8-errmsg
"ICN", # flake8-import-conventions
"PGH", # pygrep-hooks
"PIE", # flake8-pie
"PL", # pylint
"PT", # flake8-pytest-style
"PTH", # flake8-use-pathlib
"RET", # flake8-return
"RUF", # Ruff-specific
"SIM", # flake8-simplify
"TID251", # flake8-tidy-imports.banned-api
"T20", # flake8-print
"UP", # pyupgrade
"YTT", # flake8-2020
]
ignore = [
"PLR", # Design related pylint codes
"PT004", # Incorrect check, usefixtures is the correct way to do this
"RUF012", # Would require a lot of ClassVar's
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.mypy]
plugins = "numpy.typing.mypy_plugin"