33
44repos :
55 - repo : https://github.com/astral-sh/ruff-pre-commit
6- rev : v0.11.2
6+ rev : v0.11.11
77 hooks :
88 # Run the Ruff formatter.
99 - id : ruff-format
1010 # Run the Ruff linter.
11- - id : ruff
11+ - id : ruff-check
1212 args : [--fix, --exit-non-zero-on-fix]
1313
1414 - repo : https://github.com/adamchainz/blacken-docs
@@ -20,19 +20,19 @@ repos:
2020 files : ' (?:README\.md|\.ambient-package-update\/templates\/snippets\/.*\.tpl|docs\/.*\.(?:md|rst))'
2121
2222 - repo : https://github.com/asottile/pyupgrade
23- rev : v3.19.1
23+ rev : v3.20.0
2424 hooks :
2525 - id : pyupgrade
2626 args : [ --py39-plus ]
2727
2828 - repo : https://github.com/adamchainz/django-upgrade
29- rev : 1.24 .0
29+ rev : 1.25 .0
3030 hooks :
3131 - id : django-upgrade
3232 args : [--target-version, "4.2"]
3333
3434 - repo : https://github.com/adamchainz/djade-pre-commit
35- rev : 1.3.2
35+ rev : 1.4.0
3636 hooks :
3737 - id : djade
3838 args : [--target-version, "4.2"]
@@ -45,10 +45,15 @@ repos:
4545 - repo : https://github.com/pre-commit/pre-commit-hooks
4646 rev : v5.0.0
4747 hooks :
48- - id : no-commit-to-branch
49- args :
50- [
51- " --pattern" ,
52- ' ^^(?!(?:feature|hotfix|bugfix|refactor|maintenance)/[\w\d\-_#]+).*$' ,
53- ]
54- stages : [ pre-commit ]
48+ - id : check-ast
49+ - id : check-builtin-literals
50+ - id : check-case-conflict
51+ - id : check-docstring-first
52+ - id : check-executables-have-shebangs
53+ - id : check-json
54+ - id : check-merge-conflict
55+ - id : check-toml
56+ - id : end-of-file-fixer
57+ - id : fix-byte-order-marker
58+ - id : mixed-line-ending
59+ - id : trailing-whitespace
0 commit comments