Skip to content

Commit 488f24d

Browse files
committed
enh: add upgrade guide for 020
1 parent 73185ea commit 488f24d

File tree

4 files changed

+472
-8
lines changed

4 files changed

+472
-8
lines changed

.pre-commit-config.yaml

+6-8
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ci:
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v4.5.0
6+
rev: v4.6.0
77
hooks:
88
- id: check-added-large-files
99
- id: check-case-conflict
@@ -35,7 +35,7 @@ repos:
3535

3636

3737
- repo: https://github.com/asottile/pyupgrade
38-
rev: v3.15.0
38+
rev: v3.15.2
3939
hooks:
4040
- id: pyupgrade
4141
args: [ --py38-plus ]
@@ -47,11 +47,10 @@ repos:
4747

4848
# Notebook formatting
4949
- repo: https://github.com/nbQA-dev/nbQA
50-
rev: 1.7.1
50+
rev: 1.8.5
5151
hooks:
5252
- id: nbqa-isort
5353
additional_dependencies: [ isort==5.6.4 ]
54-
args: [ --nbqa-mutate ]
5554

5655
- id: nbqa-pyupgrade
5756
additional_dependencies: [ pyupgrade==2.7.4 ]
@@ -67,22 +66,21 @@ repos:
6766
rev: 'v1.0'
6867
hooks:
6968
- id: upgrade-type-hints
70-
args: [ '--futures=true' ]
7169

7270
- repo: https://github.com/psf/black
73-
rev: 23.12.1
71+
rev: 24.4.0
7472
hooks:
7573
- id: black
7674
language: python
7775

7876

7977
- repo: https://github.com/janosh/format-ipy-cells
80-
rev: v0.1.10
78+
rev: v0.1.11
8179
hooks:
8280
- id: format-ipy-cells
8381

8482
- repo: https://github.com/kynan/nbstripout
85-
rev: 0.6.1
83+
rev: 0.7.1
8684
hooks:
8785
- id: nbstripout
8886

_website/tutorials/introduction/README.rst

+10
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,13 @@ that explain the elementary aspects of zfit.
2525

2626
Introduction.ipynb
2727
Introduction_long.ipynb
28+
29+
What's new
30+
+++++++++++
31+
32+
To know about the newest features in version 0.20+, see the changelog and the guide.
33+
34+
.. toctree::
35+
:maxdepth: 2
36+
37+
upgrade_guide_020.ipynb

introduction/README.rst

+10
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,13 @@ that explain the elementary aspects of zfit.
2525

2626
Introduction.ipynb
2727
Introduction_long.ipynb
28+
29+
What's new
30+
+++++++++++
31+
32+
To know about the newest features in version 0.20+, see the changelog and the guide.
33+
34+
.. toctree::
35+
:maxdepth: 2
36+
37+
upgrade_guide_020.ipynb

0 commit comments

Comments
 (0)