Skip to content

Commit

Permalink
chore: [pre-commit.ci] pre-commit autoupdate (#96)
Browse files Browse the repository at this point in the history
* Update pre-commit hooks:
   - github.com/pre-commit/pre-commit-hooks: v3.4.0 → v4.0.1
   - github.com/psf/black: 21.5b1 → 21.6b0
   - github.com/pycqa/isort: 5.8.0 → 5.9.1
   - github.com/asottile/pyupgrade: v2.15.0 → v2.20.0
   - github.com/nbQA-dev/nbQA: 0.8.0 → 0.13.1
* Revise pre-commit hook order given linear execution
   - pre-commit hooks execute in order of definition in .pre-commit-config.yaml, so hooks that can change the codebase should execute before linter hooks

Co-authored-by: Matthew Feickert <matthew.feickert@cern.ch>
  • Loading branch information
pre-commit-ci[bot] and matthewfeickert authored Jul 6, 2021
1 parent 909f513 commit 3389e84
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
rev: v4.0.1
hooks:
- id: check-added-large-files
- id: check-case-conflict
Expand All @@ -19,33 +19,33 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 21.5b1
- repo: https://github.com/asottile/pyupgrade
rev: v2.20.0
hooks:
- id: black
- id: pyupgrade

- repo: https://github.com/pycqa/isort
rev: 5.9.1
hooks:
- id: isort

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

- repo: https://github.com/pycqa/isort
rev: 5.8.0
hooks:
- id: isort

- repo: https://github.com/asottile/pyupgrade
rev: v2.15.0
- repo: https://github.com/psf/black
rev: 21.6b0
hooks:
- id: pyupgrade
- id: black

- repo: https://github.com/nbQA-dev/nbQA
rev: 0.8.0
rev: 0.13.1
hooks:
- id: nbqa-black
additional_dependencies: [black==21.5b1]
- id: nbqa-pyupgrade
additional_dependencies: [pyupgrade==2.15.0]
additional_dependencies: [pyupgrade==2.20.0]
args: ["--py36-plus"]
- id: nbqa-isort
additional_dependencies: [isort==5.8.0]
additional_dependencies: [isort==5.9.1]
- id: nbqa-black
additional_dependencies: [black==21.6b0]

0 comments on commit 3389e84

Please sign in to comment.