Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #122

Merged
merged 3 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading