Update pre-commit config to upgrade to isort v5.12.0
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index ced8fcdd70..d2099d62a7 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -68,7 +68,7 @@ repos:
       - id: flake8
 
   - repo: https://github.com/pycqa/isort
-    rev: 5.11.1
+    rev: 5.12.0
     hooks:
       - id: isort
 

Fixes #987