Skip to content

Commit

Permalink
Merge pull request #122 from scottclowe/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 authored Apr 11, 2024
2 parents 3fa913f + 47c1aa9 commit c31543c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
name: isort
Expand All @@ -11,7 +11,7 @@ repos:
args: ["--profile=black"]

- repo: https://github.com/psf/black
rev: 23.7.0
rev: 24.3.0
hooks:
- id: black
args:
Expand All @@ -23,18 +23,18 @@ repos:
types: [python]

- repo: https://github.com/asottile/blacken-docs
rev: 1.15.0
rev: 1.16.0
hooks:
- id: blacken-docs
additional_dependencies: ["black==23.7.0"]
additional_dependencies: ["black==24.3.0"]

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

- repo: https://github.com/nbQA-dev/nbQA
rev: 1.7.0
rev: 1.8.5
hooks:
- id: nbqa-isort
args: ["--profile=black"]
Expand All @@ -45,7 +45,7 @@ repos:
- "--target-version=py39"
- "--target-version=py310"
- "--target-version=py311"
additional_dependencies: ["black==23.7.0"]
additional_dependencies: ["black==24.3.0"]
- id: nbqa-flake8

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

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand All @@ -88,12 +88,12 @@ repos:
exclude: \.(html|svg)$

- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.4.0
rev: v2.5.0
hooks:
- id: setup-cfg-fmt

- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies:
Expand Down
1 change: 1 addition & 0 deletions package_name/tests/test_module.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Tests for module in package_name.
"""

import math

import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
black==23.7.0
black==24.3.0
identify>=1.4.20
pre-commit

0 comments on commit c31543c

Please sign in to comment.