Skip to content

Commit

Permalink
Add django-upgrade to pre-commit (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz committed Apr 27, 2023
1 parent 68e9c15 commit 7bc9223
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ repos:
hooks:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.13.0
hooks:
- id: django-upgrade
args: [--target-version, '3.2']
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
Expand Down

0 comments on commit 7bc9223

Please sign in to comment.