-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (80 loc) · 2.18 KB
/
pyproject.toml
File metadata and controls
97 lines (80 loc) · 2.18 KB
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
[project]
name = "wildboar"
authors = [{ name = "Isak Samsten", email = "isak@samsten.se" }]
description = "Time series learning with Python."
dynamic = ["version", "readme"]
license = "BSD-3-Clause"
license-files = ["LICENSE"]
requires-python = ">=3.11"
dependencies = [
"numpy>=1.22.0",
"scipy>=1.8.0",
"scikit-learn>=1.8"
]
classifiers = [
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Intended Audience :: Science/Research",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
]
keywords = [
"machine learning",
"time series",
"counterfactual explanation",
]
[project.urls]
Homepage = "https://wildboar.dev"
Documentation = "https://wildboar.dev"
Repository = "https://github.com/wildboar-foundation/wildboar"
"Bug Tracker" = "https://github.com/wildboar-foundation/wildboar/issues"
[project.optional-dependencies]
outliers = [
"networkx",
]
[tool.setuptools_scm]
write_to = "src/wildboar/version.py"
version_scheme = "release-branch-semver"
[tool.setuptools.dynamic]
version = { attr = "wildboar.__version__" }
readme = { file = ["README.md"] }
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"*" = ["*.pxd"]
[build-system]
requires = [
"setuptools>=77.0",
"wheel",
"cython>=3.0.10",
"setuptools-scm>=8",
"numpy>=2",
"scikit-learn>=1.8",
"scipy>=1.8.0",
]
build-backend = "setuptools.build_meta"
[tool.ruff]
select = ["E", "F", "N", "PL", "I" ]
ignore = ["PLR2004", "N803", "N806", "F841"]
[tool.ruff.per-file-ignores]
"docs/**/*.py" = ["E", "F", "D", "N", "PL", "RUF", "I001"]
"tests/**/*.py" = ["E", "F", "D", "N", "PL", "RUF" ]
[tool.ruff.pylint]
max-args = 15 # We use many keyword arguments for estimators
[tool.ruff.pydocstyle]
convention = "numpy"
ignore-decorators = ["typing.overload", "numpy.deprecate", "sklearn.utils.deprecated"]
[tool.cython-lint]
max-line-length = 88
ignore = ['E741']
[tool.black]
include = '\.pyi?$'
[tool.docformatter]
wrap-summaries = 79
wrap-descriptions = 72
non-strict = false
[tool.numpydoc-lint]
exclude = ["tests/**/*.py"]
ignore-pattern = ["H0002"]