Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate
Browse files Browse the repository at this point in the history
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.6.0...v5.0.0)
- [github.com/asottile/pyupgrade: v3.16.0 → v3.17.0](asottile/pyupgrade@v3.16.0...v3.17.0)
- [github.com/adamchainz/django-upgrade: 1.19.0 → 1.21.0](adamchainz/django-upgrade@1.19.0...1.21.0)
- [github.com/psf/black-pre-commit-mirror: 24.4.2 → 24.10.0](psf/black-pre-commit-mirror@24.4.2...24.10.0)
- [github.com/pycqa/flake8: 7.1.0 → 7.1.1](PyCQA/flake8@7.1.0...7.1.1)
- [github.com/PyCQA/bandit: 1.7.9 → 1.7.10](PyCQA/bandit@1.7.9...1.7.10)
- [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.6.9](astral-sh/ruff-pre-commit@v0.5.0...v0.6.9)
  • Loading branch information
pre-commit-ci[bot] authored and fyliu committed Oct 17, 2024
1 parent 5e3439f commit 2260776
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
default_install_hook_types: [pre-commit, pre-push]
default_stages: [commit, push]
default_stages: [Nonepre-commitNone, Nonepre-pushNone]
minimum_pre_commit_version: "2.18"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
# identify invalid files
- id: check-ast
Expand Down Expand Up @@ -46,19 +46,19 @@ repos:
- id: hadolint

- repo: https://github.com/asottile/pyupgrade
rev: v3.16.0
rev: v3.17.0
hooks:
- id: pyupgrade
args: [--py310-plus]

- repo: https://github.com/adamchainz/django-upgrade
rev: 1.19.0
rev: 1.21.0
hooks:
- id: django-upgrade
args: [--target-version, "4.0"]

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.4.2
rev: 24.10.0
hooks:
- id: black
exclude: ^app/core/migrations/
Expand All @@ -71,7 +71,7 @@ repos:
- black==24.2.0

- repo: https://github.com/pycqa/flake8
rev: 7.1.0
rev: 7.1.1
hooks:
- id: flake8
exclude: "^app/core/migrations/|^app/data/migrations/|^app/core/scripts"
Expand Down Expand Up @@ -100,7 +100,7 @@ repos:
args: ["--filter-files", "--force-single-line-imports"]

- repo: https://github.com/PyCQA/bandit
rev: 1.7.9
rev: 1.7.10
hooks:
- id: bandit
exclude: ^app/core/tests/
Expand All @@ -124,7 +124,7 @@ repos:

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.5.0
rev: v0.6.9
hooks:
# Run the linter.
- id: ruff
Expand Down Expand Up @@ -156,7 +156,7 @@ repos:
language: system
pass_filenames: false
always_run: true
stages: [push]
stages: [Nonepre-pushNone]
- id: test
name: test
entry: ./scripts/test.sh
Expand All @@ -165,7 +165,7 @@ repos:
always_run: true
# verbose: true
# require_serial: true
stages: [push]
stages: [Nonepre-pushNone]

ci:
autoupdate_schedule: quarterly

0 comments on commit 2260776

Please sign in to comment.