Explorar o código

upd: black version on pre-commit

João André %!s(int64=3) %!d(string=hai) anos
pai
achega
ec36a9b5cf
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      .pre-commit-config.yaml

+ 2 - 2
.pre-commit-config.yaml

@@ -30,11 +30,11 @@ repos:
     - id: check-yaml
       args: [--unsafe]
 -   repo: https://github.com/ambv/black
-    rev: 21.8b0
+    rev: 22.3.0
     hooks:
     - id: black
       args: [--line-length=120]
-      language_version: python3.9
+      language_version: python3
 -   repo: https://gitlab.com/pycqa/flake8
     rev: 3.9.2
     hooks: