-
-
Notifications
You must be signed in to change notification settings - Fork 140
/
pyproject.toml
129 lines (116 loc) · 2.8 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
126
127
128
129
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pingouin"
description = "Pingouin: statistical package for Python"
authors = [
{name = "Raphael Vallat", email = "[email protected]"},
]
dependencies = [
"matplotlib",
"numpy",
"pandas>=1.5",
"pandas_flavor",
"scikit-learn>=1.2",
"scipy",
"seaborn",
"statsmodels",
"tabulate",
]
requires-python = ">=3.8"
readme = "README.rst"
license = {text = "GPL-3.0"}
maintainers = [
{name = "Raphael Vallat", email = "[email protected]"},
]
dynamic = ["version"]
classifiers = [
"Intended Audience :: Science/Research",
"Operating System :: MacOS",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering :: Mathematics",
]
[project.optional-dependencies]
test = [
"pytest>=6",
"pytest-cov",
"codecov",
"openpyxl",
"mpmath",
# Ensure coverage is new enough for `source_pkgs`.
"coverage[toml]>=5.3",
]
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.black]
line-length = 100
target-version = ['py311']
include = '\.pyi?$'
[tool.flake8]
# W605 : bug when math equation in numpydoc
# W503, W504 : line-break with math operator
# E203: E203 whitespace before ':', not compatible with Black
# DXXX: Docstring related
max-line-length = 100
ignore = ["N806", "N803", "W503", "W504", "W605", "D100", "D200", "D205", "D301", "D400", "D401", "E203"]
exclude = [
".git",
"__pycache__",
"docs",
"build",
"__init__.py",
"examples",
"setup.py",
]
statistics = true