diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 81848d7dcf7..137957045a6 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -3,7 +3,6 @@ description: "Black: The uncompromising Python code formatter" entry: black language: python - language_version: python3 minimum_pre_commit_version: 2.9.2 require_serial: true types_or: [python, pyi] @@ -13,7 +12,6 @@ "Black: The uncompromising Python code formatter (with Jupyter Notebook support)" entry: black language: python - language_version: python3 minimum_pre_commit_version: 2.9.2 require_serial: true types_or: [python, pyi, jupyter] diff --git a/CHANGES.md b/CHANGES.md index a678aaefc2a..a4b8e01fb93 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -7,6 +7,11 @@ - Add support for formatting Jupyter Notebook files (#2357) - Move from `appdirs` dependency to `platformdirs` (#2375) +### Integrations + +- The provided pre-commit hooks no longer specify `language_version` to avoid overriding + `default_language_version` (#2430) + ## 21.7b0 ### _Black_