-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
88 lines (80 loc) · 2.32 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
# build configuration
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "pystatpower"
description = "A Power Analysis Toolkit for Python"
license = { text = "GPL-3.0" }
requires-python = ">=3.10"
authors = [{ name = "Snoopy1866", email = "[email protected]" }]
keywords = [
"mathematics",
"statistics",
"power analysis",
"sample size",
"power",
"hypothesis",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Mathematics",
]
dependencies = ["scipy>=1.12.0"]
readme = { file = "README.md", content-type = "text/markdown" }
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"scipy>=1.12.0",
"esbonio==0.16.5",
"pre-commit==4.1.0",
"pytest==8.3.4",
"pytest-cov==6.0.0",
"ruff==0.9.5",
]
docs = [
"jieba==0.42.1",
"myst-parser==4.0.0",
"sphinx==8.1.3",
"sphinx-autobuild==2024.10.3",
"sphinx-autodoc2==0.5.0",
"sphinx-book-theme==1.1.3",
"sphinx-copybutton==0.5.2",
"sphinx-issues==5.0.0",
"sphinx-notfound-page==1.1.0",
"sphinx-togglebutton==0.3.2",
"sphinx_tippy==0.4.3",
]
[project.urls]
Homepage = "https://github.com/Snoopy1866/pystatpower"
Documentation = "https://github.com/Snoopy1866/pystatpower/blob/main/README.md"
Repository = "https://github.com/Snoopy1866/pystatpower.git"
Issues = "https://github.com/Snoopy1866/pystatpower/issues"
Changelog = "https://github.com/Snoopy1866/pystatpower/blob/main/CHANGELOG.md"
# setuptools configuration
[tool.setuptools.dynamic]
version = { attr = "pystatpower.__version__" }
# pytest configuration
[tool.pytest.ini_options]
minversion = "8.0"
addopts = "-ra -q -l --tb=auto --color=yes"
testpaths = ["tests"]
pythonpath = ["src"]
verbosity_test_cases = 2
verbosity_assertions = 2
# ruff configuration
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F"]
extend-select = ["I"]
[tool.ruff.lint.isort]
known-local-folder = ["src"]
lines-between-types = 1