]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
⬆️ Upgrade isort and update pre-commit (#5940)
authorSebastián Ramírez <tiangolo@gmail.com>
Mon, 30 Jan 2023 15:09:51 +0000 (16:09 +0100)
committerGitHub <noreply@github.com>
Mon, 30 Jan 2023 15:09:51 +0000 (16:09 +0100)
.pre-commit-config.yaml

index 96f097caa10dc854a0950b54d2bedf4380547b4f..01cd6ea0faa0fc48b052015b08158936b9015882 100644 (file)
@@ -1,5 +1,7 @@
 # See https://pre-commit.com for more information
 # See https://pre-commit.com/hooks.html for more hooks
+default_language_version:
+    python: python3.10
 repos:
 -   repo: https://github.com/pre-commit/pre-commit-hooks
     rev: v4.3.0
@@ -25,7 +27,7 @@ repos:
         args:
         - --fix
 -   repo: https://github.com/pycqa/isort
-    rev: 5.10.1
+    rev: 5.12.0
     hooks:
     -   id: isort
         name: isort (python)