mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-10 22:11:54 +08:00
Auto-update pre-commit hooks (#1070)
* Auto-update pre-commit hooks * Update pre-commit-autoupdate.yml Co-authored-by: sobolevn <sobolevn@users.noreply.github.com> Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
This commit is contained in:
committed by
GitHub
parent
89d0a10939
commit
62c09c064c
2
.github/workflows/pre-commit-autoupdate.yml
vendored
2
.github/workflows/pre-commit-autoupdate.yml
vendored
@@ -1,6 +1,6 @@
|
|||||||
# Run pre-commit autoupdate every day at midnight
|
# Run pre-commit autoupdate every day at midnight
|
||||||
# and create a pull request if any changes
|
# and create a pull request if any changes
|
||||||
# Copied from
|
# Copied from
|
||||||
# https://github.com/cookiecutter/cookiecutter-django
|
# https://github.com/cookiecutter/cookiecutter-django
|
||||||
|
|
||||||
name: Pre-commit auto-update
|
name: Pre-commit auto-update
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ repos:
|
|||||||
- id: check-merge-conflict
|
- id: check-merge-conflict
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v2.34.0
|
rev: v2.37.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args: ["--py36-plus"]
|
args: ["--py36-plus"]
|
||||||
@@ -28,7 +28,7 @@ repos:
|
|||||||
types: [pyi]
|
types: [pyi]
|
||||||
args: ["--profile", "black"]
|
args: ["--profile", "black"]
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 22.3.0
|
rev: 22.6.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
- repo: https://gitlab.com/pycqa/flake8
|
- repo: https://gitlab.com/pycqa/flake8
|
||||||
|
|||||||
Reference in New Issue
Block a user