Skip to content

Commit a6c2f82

Browse files
committed
Enable type checking for entire openslide package
Signed-off-by: Benjamin Gilbert <[email protected]>
1 parent 5032e23 commit a6c2f82

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ repos:
5959
- id: mypy
6060
name: Check Python types
6161
additional_dependencies: [openslide-bin, pillow, types-setuptools]
62-
exclude: "^(doc/.*|openslide/(__init__|deepzoom)\\.py|tests/.*|examples/deepzoom/.*)$"
62+
exclude: "^(doc/.*|tests/.*|examples/deepzoom/.*)$"
6363

6464
- repo: https://github.com/rstcheck/rstcheck
6565
rev: v6.2.4

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ force_sort_within_sections = true
6060
[tool.mypy]
6161
python_version = "3.10"
6262
strict = true
63-
# temporary, while we bootstrap type checking
64-
follow_imports = "silent"
6563

6664
[tool.pytest.ini_options]
6765
minversion = "7.0"

0 commit comments

Comments
 (0)