Skip to content

Commit

Permalink
Sync hooks with other repos (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxr authored Jul 16, 2023
1 parent f65dd8d commit 405277e
Showing 1 changed file with 28 additions and 26 deletions.
54 changes: 28 additions & 26 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,37 @@ repos:
- id: name-tests-test
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/hakancelikdev/unimport
rev: 1.0.0
- repo: https://github.com/mxr/sync-pre-commit-deps
rev: v0.0.1
hooks:
- id: unimport
- id: sync-pre-commit-deps
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.4.0
hooks:
- id: setup-cfg-fmt
args: ['--min-py-version', '3.8']
- repo: https://github.com/asottile/reorder-python-imports
rev: v3.10.0
hooks:
- id: reorder-python-imports
args: [--py38-plus, --add-import, 'from __future__ import annotations']
- repo: https://github.com/asottile/pyupgrade
rev: v3.9.0
hooks:
- id: pyupgrade
args: [--py38-plus]
- repo: https://github.com/hakancelikdev/unimport
rev: 1.0.0
hooks:
- id: unimport
- repo: https://github.com/mxr/unkey
rev: v0.0.1
hooks:
- id: unkey
- repo: https://github.com/psf/black
rev: 23.7.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
Expand All @@ -26,6 +49,7 @@ repos:
- flake8-builtins==2.1.0
- flake8-comprehensions==3.14.0
- flake8-typing-imports==1.14.0
- flake8_simplify==0.20.0
- repo: https://github.com/asottile/yesqa
rev: v1.5.0
hooks:
Expand All @@ -36,29 +60,7 @@ repos:
- flake8-builtins==2.1.0
- flake8-comprehensions==3.14.0
- flake8-typing-imports==1.14.0
- repo: https://github.com/asottile/reorder-python-imports
rev: v3.10.0
hooks:
- id: reorder-python-imports
args: [--py38-plus, --add-import, 'from __future__ import annotations']
- repo: https://github.com/psf/black
rev: 23.7.0
hooks:
- id: black
- repo: https://github.com/adamchainz/blacken-docs
rev: 1.15.0
hooks:
- id: blacken-docs
additional_dependencies: [black==23.7.0]
- repo: https://github.com/asottile/pyupgrade
rev: v3.9.0
hooks:
- id: pyupgrade
args: [--py38-plus]
- repo: https://github.com/mxr/unkey
rev: v0.0.1
hooks:
- id: unkey
- flake8_simplify==0.20.0
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.4.1
hooks:
Expand Down

0 comments on commit 405277e

Please sign in to comment.