mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
[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:
parent
adde256893
commit
d6f38ade54
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
@ -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
|
||||
|
@ -130,6 +130,7 @@ exclude = [
|
||||
]
|
||||
|
||||
[tool.mypy]
|
||||
files = ["sphinx"]
|
||||
check_untyped_defs = true
|
||||
disallow_incomplete_defs = true
|
||||
follow_imports = "skip"
|
||||
|
Loading…
Reference in New Issue
Block a user