[CI] update mypy CI job to use local config (#12013)

Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2024-02-26 12:15:17 +01:00
1 parent adde256893
commit d6f38ade54
2 files changed
+3 -2

No files matched your search

+2 -2
View File
@@ -62,9 +62,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade "mypy==1.8.0" docutils-stubs types-requests
python -m pip install ".[lint,test]"
- name: Type check with mypy
run: mypy sphinx/
run: mypy
docs-lint:
runs-on: ubuntu-latest
+1
View File
@@ -130,6 +130,7 @@ exclude = [
]
[tool.mypy]
files = ["sphinx"]
check_untyped_defs = true
disallow_incomplete_defs = true
follow_imports = "skip"