Skip to content

Commit

Permalink
Merge pull request #138 from legend-exp/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
chore: update pre-commit hooks
  • Loading branch information
sofia-calgaro authored Mar 8, 2024
2 parents 287e4f1 + a3e9f7b commit a4fca9d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
22 changes: 11 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.4.0"
rev: "v4.5.0"
hooks:
- id: check-added-large-files
- id: check-case-conflict
Expand All @@ -24,41 +24,41 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/asottile/setup-cfg-fmt
rev: "v2.4.0"
rev: "v2.5.0"
hooks:
- id: setup-cfg-fmt

- repo: https://github.com/PyCQA/isort
rev: "5.12.0"
rev: "5.13.2"
hooks:
- id: isort

- repo: https://github.com/asottile/pyupgrade
rev: "v3.13.0"
rev: "v3.15.0"
hooks:
- id: pyupgrade
args: ["--py38-plus"]

- repo: https://github.com/psf/black
rev: "23.9.1"
rev: "24.1.1"
hooks:
- id: black-jupyter

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.5.1"
rev: "v1.8.0"
hooks:
- id: mypy
files: src
stages: [manual]

- repo: https://github.com/hadialqattan/pycln
rev: "v2.2.2"
rev: "v2.4.0"
hooks:
- id: pycln
args: ["--all"]

- repo: https://github.com/PyCQA/flake8
rev: "6.1.0"
rev: "7.0.0"
hooks:
- id: flake8
additional_dependencies: [
Expand All @@ -70,7 +70,7 @@ repos:
args: ["--docstring-convention", "numpy"] # or google, change me

- repo: https://github.com/kynan/nbstripout
rev: "0.6.1"
rev: "0.7.1"
hooks:
- id: nbstripout
args: ["--drop-empty-cells",
Expand All @@ -83,7 +83,7 @@ repos:
stages: [manual]

- repo: https://github.com/codespell-project/codespell
rev: "v2.2.5"
rev: "v2.2.6"
hooks:
- id: codespell

Expand All @@ -101,7 +101,7 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.3"
rev: "v4.0.0-alpha.8"
hooks:
- id: prettier
types_or: [json]
18 changes: 9 additions & 9 deletions notebook/L200-plotting-widgets.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "308b2266-c882-465f-89d0-c6ffe46e1b08",
"id": "0",
"metadata": {},
"source": [
"### Introduction\n",
Expand All @@ -18,7 +18,7 @@
},
{
"cell_type": "markdown",
"id": "ab6a56d1-ec1e-4162-8b41-49e8df7b5f16",
"id": "1",
"metadata": {},
"source": [
"# Select event type and parameter"
Expand All @@ -27,7 +27,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "c3348d46-78a7-4be3-80de-a88610d88f00",
"id": "2",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -131,7 +131,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "508896aa-8f5c-4bed-a731-bb9aeca61bef",
"id": "3",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -156,7 +156,7 @@
},
{
"cell_type": "markdown",
"id": "f1c10c0f-9bed-400f-8174-c6d7e185648b",
"id": "4",
"metadata": {},
"source": [
"# Plot data (select style and string)\n",
Expand All @@ -173,7 +173,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "084e9d36-1478-4833-96ff-555134e9a64c",
"id": "5",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -189,7 +189,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "2122008e-2a6c-49b6-8a81-d351c1bfd57e",
"id": "6",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -252,7 +252,7 @@
},
{
"cell_type": "markdown",
"id": "17542fbd-a2fb-4474-829a-adb0ef99aae3",
"id": "7",
"metadata": {
"tags": []
},
Expand All @@ -264,7 +264,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "1c483113-044b-4b98-89fa-9596002a3752",
"id": "8",
"metadata": {
"tags": []
},
Expand Down

0 comments on commit a4fca9d

Please sign in to comment.