Upgrade mypy to 0.960

Signed-off-by: Edward Z. Yang <ezyangfb.com>

Pull Request resolved: https://github.com/pytorch/pytorch/pull/78804

Approved by: https://github.com/janeyx99
diff --git a/.circleci/docker/requirements-ci.txt b/.circleci/docker/requirements-ci.txt
index b27f3a3..2cb7334 100644
--- a/.circleci/docker/requirements-ci.txt
+++ b/.circleci/docker/requirements-ci.txt
@@ -80,10 +80,10 @@
 #Pinned versions:
 #test that import:
 
-mypy==0.812
+mypy==0.960
 # Pin MyPy version because new errors are likely to appear with each release
 #Description: linter
-#Pinned versions: 0.812
+#Pinned versions: 0.960
 #test that import: test_typing.py, test_type_hints.py
 
 #networkx
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 00e0dd1..18517ba 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -217,7 +217,7 @@
           pip3 install typing-extensions==3.10 --user
           pip3 install -r requirements-flake8.txt --user
           python3 -mpip install -r requirements.txt --user
-          python3 -mpip install mypy==0.812 --user
+          python3 -mpip install mypy==0.960 --user
           make setup_lint
       - name: Test tools
         run: |