-
-
Notifications
You must be signed in to change notification settings - Fork 142
/
pyproject.toml
125 lines (112 loc) · 2.72 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pingouin"
description = "Pingouin: statistical package for Python"
readme = "README.rst"
license = {text = "GPL-3.0"}
authors = [
{name = "Raphael Vallat", email = "[email protected]"},
]
maintainers = [
{name = "Raphael Vallat", email = "[email protected]"},
]
classifiers = [
"Intended Audience :: Science/Research",
"Operating System :: MacOS",
"Operating System :: POSIX",
"Operating System :: Unix",
"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 :: Mathematics",
]
dynamic = ["version"]
requires-python = ">=3.8"
dependencies = [
"matplotlib",
"numpy",
"pandas>=1.5",
"pandas_flavor",
"scikit-learn>=1.2",
"scipy",
"seaborn",
"statsmodels",
"tabulate",
]
[project.optional-dependencies]
extras = [
"mpmath",
]
test = [
"pytest>=6",
"pytest-cov",
# Ensure coverage is new enough for `source_pkgs`.
"coverage[toml]>=5.3",
"mpmath",
]
docs = [
"sphinx>7.0.0",
"pydata_sphinx_theme",
"numpydoc",
"sphinx-copybutton",
"sphinx-design",
"sphinx-notfound-page",
]
[project.urls]
Homepage = "https://pingouin-stats.org/index.html"
Downloads = "https://github.com/raphaelvallat/pingouin/"
[tool.setuptools]
py-modules = ["pingouin"]
include-package-data = true
[tool.setuptools.package-data]
pingouin = [
"datasets/*.csv",
]
[tool.setuptools.packages.find]
namespaces = false
where = ["src"]
[tool.setuptools.dynamic]
version = {attr = "pingouin.__version__"}
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--showlocals --durations=10 --maxfail=2 --cov"
doctest_optionflags= ["NORMALIZE_WHITESPACE", "IGNORE_EXCEPTION_DETAIL"]
filterwarnings = [
"ignore::UserWarning",
"ignore::RuntimeWarning",
"ignore::FutureWarning",
]
markers = ["slow"]
[tool.coverage.run]
branch = true
omit = [
"*/setup.py",
"*/examples/*",
"*/tests/*",
"*/datasets/*",
]
source_pkgs = ["pingouin"]
[tool.coverage.paths]
source = ["src"]
[tool.coverage.report]
show_missing = true
# sort = "Cover"
[tool.ruff]
line-length = 100
target-version = "py311"
exclude = [
"__init__.py", # Skip init files bc they use star imports (breaking rules F403, F405)
"notebooks", # Skip jupyter notebook examples
]
[tool.ruff.lint]
select = [
"E4", # Subset of pycodestyle rules
"E7", # Subset of pycodestyle rules
"E9", # Subset of pycodestyle rules
"F", # All Pyflakes rules
"NPY201",
]