Skip to content

Commit

Permalink
add package-wide matplotlib mypy ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffjennings committed Feb 7, 2023
1 parent 575e9c2 commit e5313de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ warn_unused_configs = True
[mypy-astropy.*]
ignore_missing_imports = True

[mypy-matplotlib.*]
ignore_missing_imports = True

[mypy-scipy.*]
ignore_missing_imports = True

Expand Down
4 changes: 2 additions & 2 deletions src/mpol/plot.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import numpy as np
import matplotlib.pyplot as plt # type: ignore
import matplotlib.colors as mco # type: ignore
import matplotlib.pyplot as plt
import matplotlib.colors as mco

from mpol.utils import loglinspace, torch2npy

Expand Down

0 comments on commit e5313de

Please sign in to comment.