diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f1151918..dd29095b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,99 +1,100 @@ repos: -- repo: https://github.com/psf/black - rev: 22.6.0 - hooks: - - id: black -- repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 - hooks: - - id: check-added-large-files - args: ['--maxkb=1000'] - - id: mixed-line-ending - exclude: ^notebooks/ - - id: trailing-whitespace - exclude: ^notebooks/ - - id: check-merge-conflict - - id: check-case-conflict - - id: check-symlinks - - id: check-yaml - exclude: ^notebooks/ - - id: requirements-txt-fixer - - id: debug-statements - - id: end-of-file-fixer -- repo: https://github.com/mgedmin/check-manifest - rev: "0.48" - hooks: - - id: check-manifest - args: [ --update, --no-build-isolation ] - additional_dependencies: [ setuptools-scm ] -- repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.971 - hooks: - - id: mypy - files: src + - repo: https://github.com/psf/black + rev: 22.6.0 + hooks: + - id: black + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.3.0 + hooks: + - id: check-added-large-files + args: [ '--maxkb=1000' ] + - id: mixed-line-ending + exclude: ^notebooks/ + - id: trailing-whitespace + exclude: ^notebooks/ + - id: check-merge-conflict + - id: check-case-conflict + - id: check-symlinks + - id: check-yaml + exclude: ^notebooks/ + - id: requirements-txt-fixer + - id: debug-statements + - id: end-of-file-fixer + - repo: https://github.com/mgedmin/check-manifest + rev: "0.48" + hooks: + - id: check-manifest + args: [ --update, --no-build-isolation ] + additional_dependencies: [ setuptools-scm ] + - repo: https://github.com/pre-commit/mirrors-mypy + rev: v0.971 + hooks: + - id: mypy + files: src -- repo: https://github.com/roy-ht/pre-commit-jupyter - rev: v1.2.1 - hooks: - - id: jupyter-notebook-cleanup + - repo: https://github.com/roy-ht/pre-commit-jupyter + rev: v1.2.1 + hooks: + - id: jupyter-notebook-cleanup -- repo: https://github.com/pre-commit/pygrep-hooks - rev: v1.9.0 - hooks: - - id: python-use-type-annotations - - id: python-check-mock-methods - - id: python-no-eval - - id: rst-backticks - - id: rst-directive-colons + - repo: https://github.com/pre-commit/pygrep-hooks + rev: v1.9.0 + hooks: + - id: python-use-type-annotations + - id: python-check-mock-methods + - id: python-no-eval + - id: rst-backticks + - id: rst-directive-colons -- repo: https://github.com/asottile/pyupgrade - rev: v2.37.3 - hooks: - - id: pyupgrade - args: [ --py37-plus ] + - repo: https://github.com/asottile/pyupgrade + rev: v2.37.3 + hooks: + - id: pyupgrade + args: [ --py37-plus ] -- repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.0.0 - hooks: - - id: setup-cfg-fmt + - repo: https://github.com/asottile/setup-cfg-fmt + rev: v2.0.0 + hooks: + - id: setup-cfg-fmt + args: [ --max-py-version=3.10, --include-version-classifiers ] -# Notebook formatting -- repo: https://github.com/nbQA-dev/nbQA - rev: 1.4.0 - hooks: - - id: nbqa-isort - additional_dependencies: [ isort==5.6.4 ] + # Notebook formatting + - repo: https://github.com/nbQA-dev/nbQA + rev: 1.4.0 + hooks: + - id: nbqa-isort + additional_dependencies: [ isort==5.6.4 ] - - id: nbqa-pyupgrade - additional_dependencies: [ pyupgrade==2.7.4 ] - args: [ --py37-plus ] + - id: nbqa-pyupgrade + additional_dependencies: [ pyupgrade==2.7.4 ] + args: [ --py37-plus ] -- repo: https://github.com/roy-ht/pre-commit-jupyter - rev: v1.2.1 - hooks: - - id: jupyter-notebook-cleanup + - repo: https://github.com/roy-ht/pre-commit-jupyter + rev: v1.2.1 + hooks: + - id: jupyter-notebook-cleanup -- repo: https://github.com/sondrelg/pep585-upgrade - rev: 'v1.0' - hooks: - - id: upgrade-type-hints - args: [ '--futures=true' ] + - repo: https://github.com/sondrelg/pep585-upgrade + rev: 'v1.0' + hooks: + - id: upgrade-type-hints + args: [ '--futures=true' ] -- repo: https://github.com/shssoichiro/oxipng - rev: acdd66b4c5a5fda8b08281ad9b3216327b6847b4 - hooks: - - id: oxipng + - repo: https://github.com/shssoichiro/oxipng + rev: acdd66b4c5a5fda8b08281ad9b3216327b6847b4 + hooks: + - id: oxipng -- repo: https://github.com/dannysepler/rm_unneeded_f_str - rev: v0.1.0 - hooks: - - id: rm-unneeded-f-str + - repo: https://github.com/dannysepler/rm_unneeded_f_str + rev: v0.1.0 + hooks: + - id: rm-unneeded-f-str -- repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.18.2 - hooks: - - id: check-github-workflows - - id: check-github-actions - - id: check-dependabot - - id: check-readthedocs + - repo: https://github.com/python-jsonschema/check-jsonschema + rev: 0.18.2 + hooks: + - id: check-github-workflows + - id: check-github-actions + - id: check-dependabot + - id: check-readthedocs diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 0bd52acc..ecf9d4d5 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,8 +4,13 @@ Changelog master ****** -* Upgrade to Python 3.10 and zfit 0.10.0 +Version 0.6.0 +************* + +* Upgrade to Python 3.10 and zfit >= 0.10.0 * Enhanced speed toy limit calculation +* Add multidimensionl PDF support +* Add support for binned data and models Version 0.5.0 ************* diff --git a/README.md b/README.md index 5edfe319..b7bc669f 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,9 @@ [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/scikit-hep/hepstats/master) +hepstats is a library for statistical inference aiming to cover the needs High Energy Physics. +It is part of the [Scikit-HEP project](https://scikit-hep.org/). + ## Installation Install `hepstats` like any other Python package: diff --git a/setup.cfg b/setup.cfg index a70c80d0..152a1e9b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,6 +23,10 @@ classifiers = Programming Language :: Python Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only + Programming Language :: Python :: 3.7 + Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 Topic :: Scientific/Engineering Topic :: Scientific/Engineering :: Information Analysis Topic :: Scientific/Engineering :: Mathematics