From 876d4ff126f4dfce90f0d4f838f6a591967f8406 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 19:24:53 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0) - [github.com/psf/black-pre-commit-mirror: 23.7.0 → 23.11.0](https://github.com/psf/black-pre-commit-mirror/compare/23.7.0...23.11.0) - [github.com/astral-sh/ruff-pre-commit: v0.0.286 → v0.1.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.286...v0.1.6) - [github.com/pre-commit/mirrors-clang-format: v16.0.6 → v17.0.6](https://github.com/pre-commit/mirrors-clang-format/compare/v16.0.6...v17.0.6) - [github.com/pre-commit/mirrors-mypy: v1.5.1 → v1.7.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.5.1...v1.7.1) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4ea69348..53b30875 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: # Standard hooks - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: check-case-conflict - id: check-docstring-first @@ -34,20 +34,20 @@ repos: # Python formatting - repo: https://github.com/psf/black-pre-commit-mirror - rev: 23.7.0 + rev: 23.11.0 hooks: - id: black # Ruff linter, replacement for flake8, pydocstyle, isort - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.0.286' + rev: 'v0.1.6' hooks: - id: ruff args: [--fix, --show-fixes] # C++ formatting - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v16.0.6 + rev: v17.0.6 hooks: - id: clang-format @@ -62,7 +62,7 @@ repos: # Python type checking - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.5.1' + rev: 'v1.7.1' hooks: - id: mypy additional_dependencies: [numpy] From 80056188d5bf0fbbe24bb69156083c477a54f0ee Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 19:26:15 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- bench/plot.ipynb | 2 +- doc/_static/interactive_demo.ipynb | 2 +- doc/notebooks/automatic_differentiation.ipynb | 2 +- doc/notebooks/basic.ipynb | 2 +- doc/notebooks/binned_vs_unbinned.ipynb | 2 +- doc/notebooks/conditional_variable.ipynb | 2 +- doc/notebooks/cost_function_benchmarks.ipynb | 2 +- doc/notebooks/cost_functions.ipynb | 2 +- doc/notebooks/cython.ipynb | 2 +- doc/notebooks/error_bands.ipynb | 2 +- doc/notebooks/external_minimizer.ipynb | 2 +- doc/notebooks/generic_least_squares.ipynb | 2 +- doc/notebooks/gof.ipynb | 2 +- doc/notebooks/hesse_and_minos.ipynb | 2 +- doc/notebooks/interactive.ipynb | 2 +- doc/notebooks/memory_layout.ipynb | 2 +- doc/notebooks/numba.ipynb | 2 +- doc/notebooks/roofit.ipynb | 2 +- doc/notebooks/roofit/rf101_basics.ipynb | 2 +- doc/notebooks/roofit/rf109_chi2residpull.ipynb | 2 +- doc/notebooks/scipy_and_constraints.ipynb | 2 +- doc/notebooks/simultaneous_fits.ipynb | 2 +- doc/notebooks/template_fits.ipynb | 2 +- doc/notebooks/template_gof.ipynb | 2 +- doc/notebooks/template_model_mix.ipynb | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) diff --git a/bench/plot.ipynb b/bench/plot.ipynb index 3a9df847..14f6af03 100644 --- a/bench/plot.ipynb +++ b/bench/plot.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "cell_type": "code", "execution_count": null, diff --git a/doc/_static/interactive_demo.ipynb b/doc/_static/interactive_demo.ipynb index 493806f2..56c79148 100644 --- a/doc/_static/interactive_demo.ipynb +++ b/doc/_static/interactive_demo.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "cell_type": "markdown", "metadata": {}, diff --git a/doc/notebooks/automatic_differentiation.ipynb b/doc/notebooks/automatic_differentiation.ipynb index c6039e43..deca8fd1 100644 --- a/doc/notebooks/automatic_differentiation.ipynb +++ b/doc/notebooks/automatic_differentiation.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "attachments": {}, "cell_type": "markdown", diff --git a/doc/notebooks/basic.ipynb b/doc/notebooks/basic.ipynb index 72850b26..a3738004 100644 --- a/doc/notebooks/basic.ipynb +++ b/doc/notebooks/basic.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "attachments": {}, "cell_type": "markdown", diff --git a/doc/notebooks/binned_vs_unbinned.ipynb b/doc/notebooks/binned_vs_unbinned.ipynb index 18e97623..9c80a20b 100644 --- a/doc/notebooks/binned_vs_unbinned.ipynb +++ b/doc/notebooks/binned_vs_unbinned.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "cell_type": "markdown", "metadata": {}, diff --git a/doc/notebooks/conditional_variable.ipynb b/doc/notebooks/conditional_variable.ipynb index 817d555f..70154be5 100644 --- a/doc/notebooks/conditional_variable.ipynb +++ b/doc/notebooks/conditional_variable.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "cell_type": "markdown", "id": "naked-recruitment", diff --git a/doc/notebooks/cost_function_benchmarks.ipynb b/doc/notebooks/cost_function_benchmarks.ipynb index c4485c7a..65071b31 100644 --- a/doc/notebooks/cost_function_benchmarks.ipynb +++ b/doc/notebooks/cost_function_benchmarks.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "cell_type": "markdown", "metadata": {}, diff --git a/doc/notebooks/cost_functions.ipynb b/doc/notebooks/cost_functions.ipynb index a82de510..c277dda5 100644 --- a/doc/notebooks/cost_functions.ipynb +++ b/doc/notebooks/cost_functions.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "cell_type": "markdown", "id": "negative-concord", diff --git a/doc/notebooks/cython.ipynb b/doc/notebooks/cython.ipynb index ab321466..81df01ec 100644 --- a/doc/notebooks/cython.ipynb +++ b/doc/notebooks/cython.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "cell_type": "markdown", "metadata": {}, diff --git a/doc/notebooks/error_bands.ipynb b/doc/notebooks/error_bands.ipynb index f434fd1b..cd7971c1 100644 --- a/doc/notebooks/error_bands.ipynb +++ b/doc/notebooks/error_bands.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "cell_type": "markdown", "id": "frozen-raising", diff --git a/doc/notebooks/external_minimizer.ipynb b/doc/notebooks/external_minimizer.ipynb index cc0fe8b5..3f7fa71b 100644 --- a/doc/notebooks/external_minimizer.ipynb +++ b/doc/notebooks/external_minimizer.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "cell_type": "markdown", "metadata": {}, diff --git a/doc/notebooks/generic_least_squares.ipynb b/doc/notebooks/generic_least_squares.ipynb index a3fd89a5..367477e0 100644 --- a/doc/notebooks/generic_least_squares.ipynb +++ b/doc/notebooks/generic_least_squares.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "cell_type": "markdown", "metadata": {}, diff --git a/doc/notebooks/gof.ipynb b/doc/notebooks/gof.ipynb index b499cb8d..098b55cd 100644 --- a/doc/notebooks/gof.ipynb +++ b/doc/notebooks/gof.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "cell_type": "markdown", "metadata": {}, diff --git a/doc/notebooks/hesse_and_minos.ipynb b/doc/notebooks/hesse_and_minos.ipynb index abb0ceed..fce04a25 100644 --- a/doc/notebooks/hesse_and_minos.ipynb +++ b/doc/notebooks/hesse_and_minos.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "attachments": {}, "cell_type": "markdown", diff --git a/doc/notebooks/interactive.ipynb b/doc/notebooks/interactive.ipynb index c5ec41ee..ddb07d12 100644 --- a/doc/notebooks/interactive.ipynb +++ b/doc/notebooks/interactive.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "attachments": {}, "cell_type": "markdown", diff --git a/doc/notebooks/memory_layout.ipynb b/doc/notebooks/memory_layout.ipynb index dba02c0e..790d62a0 100644 --- a/doc/notebooks/memory_layout.ipynb +++ b/doc/notebooks/memory_layout.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "cell_type": "markdown", "metadata": {}, diff --git a/doc/notebooks/numba.ipynb b/doc/notebooks/numba.ipynb index 3ac41ebc..fae5cb50 100644 --- a/doc/notebooks/numba.ipynb +++ b/doc/notebooks/numba.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "cell_type": "markdown", "metadata": {}, diff --git a/doc/notebooks/roofit.ipynb b/doc/notebooks/roofit.ipynb index 6181d15c..ecf85686 100644 --- a/doc/notebooks/roofit.ipynb +++ b/doc/notebooks/roofit.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "attachments": {}, "cell_type": "markdown", diff --git a/doc/notebooks/roofit/rf101_basics.ipynb b/doc/notebooks/roofit/rf101_basics.ipynb index 9141ed32..36b28b1d 100644 --- a/doc/notebooks/roofit/rf101_basics.ipynb +++ b/doc/notebooks/roofit/rf101_basics.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "attachments": {}, "cell_type": "markdown", diff --git a/doc/notebooks/roofit/rf109_chi2residpull.ipynb b/doc/notebooks/roofit/rf109_chi2residpull.ipynb index 1aa59d23..8e589bb9 100644 --- a/doc/notebooks/roofit/rf109_chi2residpull.ipynb +++ b/doc/notebooks/roofit/rf109_chi2residpull.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "attachments": {}, "cell_type": "markdown", diff --git a/doc/notebooks/scipy_and_constraints.ipynb b/doc/notebooks/scipy_and_constraints.ipynb index 0b271cda..23846aab 100644 --- a/doc/notebooks/scipy_and_constraints.ipynb +++ b/doc/notebooks/scipy_and_constraints.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "cell_type": "markdown", "id": "ffdfe095", diff --git a/doc/notebooks/simultaneous_fits.ipynb b/doc/notebooks/simultaneous_fits.ipynb index ce937b1e..cab60b3c 100644 --- a/doc/notebooks/simultaneous_fits.ipynb +++ b/doc/notebooks/simultaneous_fits.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "cell_type": "markdown", "metadata": {}, diff --git a/doc/notebooks/template_fits.ipynb b/doc/notebooks/template_fits.ipynb index 0497d64d..a61ca7be 100644 --- a/doc/notebooks/template_fits.ipynb +++ b/doc/notebooks/template_fits.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "attachments": {}, "cell_type": "markdown", diff --git a/doc/notebooks/template_gof.ipynb b/doc/notebooks/template_gof.ipynb index b4b44818..410df094 100644 --- a/doc/notebooks/template_gof.ipynb +++ b/doc/notebooks/template_gof.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "attachments": {}, "cell_type": "markdown", diff --git a/doc/notebooks/template_model_mix.ipynb b/doc/notebooks/template_model_mix.ipynb index 628dce49..686746da 100644 --- a/doc/notebooks/template_model_mix.ipynb +++ b/doc/notebooks/template_model_mix.ipynb @@ -1,5 +1,5 @@ { - "cells": [ + "cells": [ { "attachments": {}, "cell_type": "markdown",