-
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.
* move to rye and increase testing to support py3.12 * fix test workflow * add coverage workflow
- Loading branch information
1 parent
481381a
commit 10eeeaa
Showing
16 changed files
with
148 additions
and
180 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 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
3.12 |
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,57 +1,55 @@ | ||
[build-system] | ||
requires = ["flit_scm"] | ||
build-backend = "flit_scm:buildapi" | ||
|
||
[project] | ||
authors = [{name = "Reto Trappitsch", email = "[email protected]"}] | ||
name = "ceresfit" | ||
version = "0.3.0" | ||
description = "Linear Regression for data set with correlated or uncorrelated uncertainties in both axes." | ||
authors = [ | ||
{ name = "Reto Trappitsch", email = "[email protected]" } | ||
] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Programming Language :: Python", | ||
"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", | ||
"Operating System :: OS Independent", | ||
"License :: OSI Approved :: MIT License", | ||
"Intended Audience :: Science/Research", | ||
"Topic :: Scientific/Engineering", | ||
"Topic :: Scientific/Engineering :: Physics", | ||
] | ||
dependencies = ["numpy", "scipy"] | ||
dynamic = ["version", "description"] | ||
license = {file = "LICENSE"} | ||
name = "ceresfit" | ||
dependencies = [ | ||
"numpy", | ||
"scipy" | ||
] | ||
readme = "README.md" | ||
requires-python=">=3.8" | ||
requires-python = ">= 3.8" | ||
license = { text = "MIT" } | ||
|
||
[project.urls] | ||
Source = "https://github.com/galactic-forensics/CEREsFit" | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"nox" | ||
] | ||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
test = [ | ||
"darglint>=1.5.1", | ||
"flake8>=4,<5", | ||
"flake8-bandit", | ||
"flake8-black", | ||
"flake8-bugbear", | ||
"flake8-docstrings", | ||
"flake8-import-order", | ||
"bandit<=1.7.2", | ||
"pytest>=6.0", | ||
[tool.rye] | ||
managed = true | ||
dev-dependencies = [ | ||
"pytest>=8.0", | ||
"pytest-cov", | ||
"xdoctest>=1.1.3", | ||
] | ||
|
||
[tool.flit.sdist] | ||
exclude = ["examples/", ".gitignore"] | ||
[tool.rye.scripts] | ||
test_cov = "pytest --cov --cov-report xml" | ||
test_docs = "xdoctest ceresfit --all" | ||
|
||
[tool.hatch.metadata] | ||
allow-direct-references = true | ||
|
||
[tool.hatch.build.targets.wheel] | ||
packages = ["src/ceresfit"] | ||
|
||
[tool.pytest.ini_options] | ||
minversion = "6.0" | ||
minversion = "8.0" | ||
addopts = "--cov=ceresfit --cov-report=xml" | ||
testpaths = "tests" | ||
|
||
[tool.setuptools_scm] | ||
write_to = "ceresfit/_version.py" |
Oops, something went wrong.