-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
74147e9
commit e5f35eb
Showing
8 changed files
with
62 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,21 @@ | ||
# 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 | ||
|
||
# isort configuration | ||
[tool.isort] | ||
profile = "black" | ||
skip_gitignore = true | ||
|
||
# black configuration | ||
[tool.black] | ||
line-length = 120 | ||
target-version = [ | ||
"py310", | ||
"py311", | ||
"py312", | ||
"py313" | ||
] | ||
required-version = "24" | ||
|
||
|
||
# build configuration | ||
[build-system] | ||
requires = [ | ||
"setuptools" | ||
] | ||
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]" } | ||
] | ||
authors = [{ name = "Snoopy1866", email = "[email protected]" }] | ||
keywords = [ | ||
"mathematics", | ||
"statistics", | ||
"power analysis", | ||
"sample size", | ||
"power", | ||
"hypothesis" | ||
"hypothesis", | ||
] | ||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
|
@@ -58,16 +26,35 @@ classifiers = [ | |
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
"Topic :: Scientific/Engineering :: Mathematics" | ||
] | ||
dependencies = [ | ||
"scipy>=1.12.0" | ||
"Topic :: Scientific/Engineering :: Mathematics", | ||
] | ||
dependencies = ["scipy>=1.12.0"] | ||
readme = { file = "README.md", content-type = "text/markdown" } | ||
dynamic = [ | ||
"version" | ||
] | ||
dynamic = ["version"] | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"scipy>=1.12.0", | ||
"black==24.10.0", | ||
"esbonio==0.16.5", | ||
"isort==5.13.2", | ||
"pre-commit==4.0.1", | ||
"pytest==8.3.3", | ||
"pytest-cov==6.0.0", | ||
] | ||
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.0.4", | ||
"sphinx-togglebutton==0.3.2", | ||
"sphinx_tippy==0.4.3", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/PyStatPower/PyStatPower" | ||
|
@@ -76,6 +63,26 @@ Repository = "https://github.com/PyStatPower/PyStatPower.git" | |
Issues = "https://github.com/PyStatPower/PyStatPower/issues" | ||
Changelog = "https://github.com/PyStatPower/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 | ||
|
||
# isort configuration | ||
[tool.isort] | ||
profile = "black" | ||
skip_gitignore = true | ||
|
||
# black configuration | ||
[tool.black] | ||
line-length = 120 | ||
target-version = ["py310", "py311", "py312", "py313"] | ||
required-version = "24" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.