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 #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
repos:
- repo: https://github.com/psf/black
rev: 22.8.0
rev: 24.4.2
hooks:
- id: black
args: ["-l", "80", "-t", "py36"]
exclude: "notebooks/.*"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
Expand All @@ -21,24 +21,24 @@ repos:
- id: check-shebang-scripts-are-executable
- id: check-executables-have-shebangs
- repo: https://github.com/PyCQA/flake8
rev: '5.0.4' # pick a git hash / tag to point to
rev: '7.1.0' # pick a git hash / tag to point to
hooks:
- id: flake8
exclude: ^notebooks
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v0.981' # Use the sha / tag you want to point at
rev: 'v1.10.1' # Use the sha / tag you want to point at
hooks:
- id: mypy
exclude: "config_gen.py|conftest.py|notebooks/"
additional_dependencies:
- types-PyYAML
- repo: https://github.com/codespell-project/codespell
rev: 'v2.2.1'
rev: 'v2.3.0'
hooks:
- id: codespell
args: ["-I", "codespell.txt"]
- repo: https://github.com/asottile/pyupgrade
rev: v2.38.2
rev: v3.16.0
hooks:
- id: pyupgrade
args: ["--py36-plus"]
Expand Down