diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aa981f8d..c5eff3b0 100644 --- a/.pre-commit-config.yaml +++ b/.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 @@ -11,7 +11,7 @@ repos: args: ["--profile=black"] - repo: https://github.com/psf/black - rev: 21.7b0 + rev: 21.12b0 hooks: - id: black args: @@ -21,13 +21,14 @@ 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 @@ -35,7 +36,7 @@ repos: - id: nbstripout - repo: https://github.com/nbQA-dev/nbQA - rev: 1.0.0 + rev: 1.3.1 hooks: - id: nbqa-black args: @@ -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 @@ -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 @@ -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: diff --git a/requirements-dev.txt b/requirements-dev.txt index aded7a62..6747b26d 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,2 +1,2 @@ -black==21.7b0; python_version>='3.6' +black==21.12b0; python_version>='3.6' pre-commit