Skip to content

Commit

Permalink
Enable type checking for entire openslide package
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Gilbert <[email protected]>
  • Loading branch information
bgilbert committed Oct 18, 2024
1 parent 5032e23 commit a6c2f82
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ repos:
- id: mypy
name: Check Python types
additional_dependencies: [openslide-bin, pillow, types-setuptools]
exclude: "^(doc/.*|openslide/(__init__|deepzoom)\\.py|tests/.*|examples/deepzoom/.*)$"
exclude: "^(doc/.*|tests/.*|examples/deepzoom/.*)$"

- repo: https://github.com/rstcheck/rstcheck
rev: v6.2.4
Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ force_sort_within_sections = true
[tool.mypy]
python_version = "3.10"
strict = true
# temporary, while we bootstrap type checking
follow_imports = "silent"

[tool.pytest.ini_options]
minversion = "7.0"
Expand Down

0 comments on commit a6c2f82

Please sign in to comment.