Skip to content

Commit

Permalink
chore: Update to nbQA v0.6.0 in pre-commit (#1395)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate
   - Update flake8 repo location
   - Update nbQA to v0.6.0
* Separate commit hooks for visual clarity
* Update nbqa-black pyupgrade dependency to v2.11.0

Co-authored-by: Matthew Feickert <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and matthewfeickert authored Apr 5, 2021
1 parent 98bb222 commit 9e30e6e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
repos:

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
Expand All @@ -20,28 +21,33 @@ repos:
- id: trailing-whitespace
# exclude generated files
exclude: ^validation/|\.dtd$|\.xml$

- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black

- repo: https://github.com/asottile/blacken-docs
rev: v1.10.0
hooks:
- id: blacken-docs
additional_dependencies: [black==20.8b1]
- repo: https://gitlab.com/pycqa/flake8

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

- repo: https://github.com/asottile/pyupgrade
rev: v2.11.0
hooks:
- id: pyupgrade
args: ["--py37-plus"]

- repo: https://github.com/nbQA-dev/nbQA
rev: 0.5.9
rev: 0.6.0
hooks:
- id: nbqa-black
additional_dependencies: [black==20.8b1]
- id: nbqa-pyupgrade
additional_dependencies: [pyupgrade==2.7.4]
additional_dependencies: [pyupgrade==2.11.0]

0 comments on commit 9e30e6e

Please sign in to comment.