diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 3637ec7..147dd45 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -193,10 +193,13 @@ minimum_pre_commit_version: 0.15.0 - id: mixed-line-ending name: Mixed line ending - language: python - entry: mixed-line-ending description: Replaces or checks mixed line ending + entry: mixed-line-ending + language: python + types: [text] + # for backward compatibility files: '' + minimum_pre_commit_version: 0.15.0 - id: name-tests-test name: Tests should end in _test.py description: This verifies that test files are named correctly diff --git a/hooks.yaml b/hooks.yaml index 25f71ac..59cc320 100644 --- a/hooks.yaml +++ b/hooks.yaml @@ -131,11 +131,11 @@ files: '' minimum_pre_commit_version: 0.15.0 - id: mixed-line-ending - name: Mixed line ending - language: python - entry: mixed-line-ending - description: Replaces or checks mixed line ending + language: system + name: upgrade-your-pre-commit-version + entry: upgrade-your-pre-commit-version files: '' + minimum_pre_commit_version: 0.15.0 - id: name-tests-test language: system name: upgrade-your-pre-commit-version