Skip to content

Commit a4bb6bc

Browse files
authored
Merge pull request #116 from CarliJoy/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 67fa3b9 + 092c8b8 commit a4bb6bc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ exclude: '^docs/conf.py'
22

33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v5.0.0
5+
rev: v6.0.0
66
hooks:
77
- id: trailing-whitespace
88
- id: check-added-large-files
@@ -18,13 +18,13 @@ repos:
1818
args: ['--fix=auto']
1919

2020
- repo: https://github.com/astral-sh/ruff-pre-commit
21-
rev: v0.8.6
21+
rev: v0.14.13
2222
hooks:
2323
- id: ruff
2424
args: [--fix]
2525
- id: ruff-format
2626

2727
- repo: https://github.com/crate-ci/typos.git
28-
rev: 'typos-dict-v0.12.4'
28+
rev: 'v1'
2929
hooks:
3030
- id: typos

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ You can also use a custom Pint unit registry in your project `settings.py`
105105
# django-pint will set the DJANGO_PINT_UNIT_REGISTER automatically
106106
# as application_registry
107107
DJANGO_PINT_UNIT_REGISTER = UnitRegistry('your_units.txt')
108-
DJANGO_PINT_UNIT_REGISTER.define('beer_bootle_weight = 0.8 * kg = beer')
108+
DJANGO_PINT_UNIT_REGISTER.define('beer_bottle_weight = 0.8 * kg = beer')
109109

110110
# app/models.py
111111

0 commit comments

Comments
 (0)