Skip to content

Commit

Permalink
Update mypy configuration for rapidfuzz to handle optional dependen…
Browse files Browse the repository at this point in the history
…cies.

This skips type-checking for `rapidfuzz` as that package has optional
dependencies. Previously, the optional dependencies were pulled in with
`pandas`.
  • Loading branch information
plypaul committed May 31, 2024
1 parent 4806a3e commit 96b7b6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ follow_imports = skip
[mypy-graphviz]
ignore_missing_imports = True

# Skip following imports for `rapidfuzz.process` as it has optional dependencies.
[mypy-rapidfuzz.process.*]
follow_imports = skip

# ruamel.yaml is typed but for some reason its py.typed marker isn't part of its package
# As a result, every time something somewhere needs updating mypy blows up with spurious
Expand Down

0 comments on commit 96b7b6f

Please sign in to comment.