Last active
May 10, 2022 16:36
-
-
Save luzfcb/8474bb0aa09b415b2a5879865568172e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repos: | |
- repo: https://github.com/browniebroke/django-codemod | |
# django-codemod is a tool to automatically | |
# fix Django deprecations. | |
# Any tag/version (>=1.10.2): | |
# https://github.com/browniebroke/django-codemod/tags | |
# | |
# Automatic execution of this hook has been disabled | |
# because it is a bit slow but its configuration is | |
# kept here so it can be easily run: | |
# | |
# pre-commit run --hook-stage manual djcodemod | |
rev: v1.10.2 | |
hooks: | |
- id: djcodemod | |
stages: [manual] | |
args: [ | |
'run', | |
'--deprecated-in', '1.9', | |
'--deprecated-in', '1.10', | |
'--deprecated-in', '1.11', | |
'--deprecated-in', '2.0', | |
'--deprecated-in', '2.1', | |
'--deprecated-in', '2.2', | |
'--deprecated-in', '3.0', | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment