Skip to content

Commit

Permalink
chore: [pre-commit.ci] pre-commit autoupdate (#79)
Browse files Browse the repository at this point in the history
* Update pre-commit hooks:
   - github.com/asottile/pyupgrade: v2.23.1 → v2.25.0
   - github.com/psf/black: 21.7b0 → 21.8b0
* Use black-jupyter pre-commit hook over nbqa-black and remove nbqa-black pre-commit hook from nbQA
   - Use jupyter-black pre-commit hook id from Black
   - black-jupyter will run on Python and pyi files, so it replaces the black hook id as well

Co-authored-by: Matthew Feickert <matthew.feickert@cern.ch>
  • Loading branch information
pre-commit-ci[bot] and matthewfeickert committed Sep 17, 2021
1 parent 822e187 commit 55fed1c
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .pre-commit-config.yaml
Expand Up @@ -20,7 +20,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/asottile/pyupgrade
rev: v2.23.1
rev: v2.26.0
hooks:
- id: pyupgrade
args: ["--py37-plus"]
Expand All @@ -31,21 +31,19 @@ repos:
- id: isort

- repo: https://github.com/psf/black
rev: 21.7b0
rev: 21.9b0
hooks:
- id: black
- id: black-jupyter

- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
hooks:
- id: flake8

- repo: https://github.com/nbQA-dev/nbQA
rev: 1.1.0
rev: 1.1.1
hooks:
- id: nbqa-pyupgrade
additional_dependencies: [pyupgrade==2.23.1]
additional_dependencies: [pyupgrade==2.26.0]
- id: nbqa-isort
additional_dependencies: [isort==5.9.3]
- id: nbqa-black
additional_dependencies: [black==21.7b0]

0 comments on commit 55fed1c

Please sign in to comment.