Browse code

Update pre-commit hooks

Joseph Weston authored on 28/02/2023 02:53:12
Showing 1 changed files
... ...
@@ -8,7 +8,7 @@ repos:
8 8
 - repo: https://github.com/psf/black
9 9
   rev: 23.1.0
10 10
   hooks:
11
-  - id: black
11
+  - id: black-jupyter
12 12
 - repo: https://github.com/pre-commit/mirrors-mypy
13 13
   rev: 'v1.0.1'  # Use the sha / tag you want to point at
14 14
   hooks:
... ...
@@ -17,7 +17,7 @@ repos:
17 17
   rev: v3.3.1
18 18
   hooks:
19 19
   - id: pyupgrade
20
-    args: [--py38-plus]
20
+    args: [--py311-plus]
21 21
 - repo: https://github.com/PyCQA/flake8
22 22
   rev: 6.0.0
23 23
   hooks:
... ...
@@ -26,7 +26,7 @@ repos:
26 26
   rev: 1.6.3
27 27
   hooks:
28 28
    - id: nbqa-pyupgrade
29
-     args: [--py39-plus]
29
+     args: [--py311-plus]
30 30
    - id: nbqa-isort
31 31
      args: [--profile, black]
32 32
    - id: nbqa-flake8