Skip to content

Commit

Permalink
Merge pull request #262 from rochefort-lab/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
scottclowe committed Mar 21, 2022
2 parents d8abb6b + f6f2c8b commit adba950
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
18 changes: 10 additions & 8 deletions .pre-commit-config.yaml
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/PyCQA/isort
rev: 5.9.2
rev: 5.10.1
hooks:
- id: isort
name: isort
Expand All @@ -11,7 +11,7 @@ repos:
args: ["--profile=black"]

- repo: https://github.com/psf/black
rev: 21.7b0
rev: 21.12b0
hooks:
- id: black
args:
Expand All @@ -21,21 +21,22 @@ repos:
- "--target-version=py37"
- "--target-version=py38"
- "--target-version=py39"
- "--target-version=py310"
types: [python]

- repo: https://github.com/asottile/blacken-docs
rev: v1.10.0
rev: v1.12.1
hooks:
- id: blacken-docs
additional_dependencies: [black==21.7b0]
additional_dependencies: [black==21.12b0]

- repo: https://github.com/kynan/nbstripout
rev: 0.5.0
hooks:
- id: nbstripout

- repo: https://github.com/nbQA-dev/nbQA
rev: 1.0.0
rev: 1.3.1
hooks:
- id: nbqa-black
args:
Expand All @@ -46,7 +47,8 @@ repos:
- "--target-version=py37"
- "--target-version=py38"
- "--target-version=py39"
additional_dependencies: [black==21.7b0]
- "--target-version=py310"
additional_dependencies: [black==21.12b0]
- id: nbqa-flake8

- repo: https://github.com/pre-commit/pygrep-hooks
Expand All @@ -63,7 +65,7 @@ repos:
types: [text]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.1.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand All @@ -90,7 +92,7 @@ repos:
exclude: \.(html|svg)$

- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
rev: 4.0.1
hooks:
- id: flake8
additional_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
@@ -1,2 +1,2 @@
black==21.7b0; python_version>='3.6'
black==21.12b0; python_version>='3.6'
pre-commit

0 comments on commit adba950

Please sign in to comment.