Skip to content

Commit

Permalink
disable import error for pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
adrn committed Feb 13, 2024
1 parent 7a290b0 commit 70c05f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ ignore = [


[tool.pylint]
py-version = "3.8"
py-version = "3.10"
ignore-paths = [".*/_version.py"]
reports.output-format = "colorized"
similarities.ignore-imports = "yes"
Expand Down
2 changes: 1 addition & 1 deletion src/pyia/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ def get_ebv(self, dustmaps_cls: Optional[Any] = None) -> npt.NDArray:
The E(B-V) reddening values.
"""
if dustmaps_cls is None:
from dustmaps.sfd import SFDQuery
from dustmaps.sfd import SFDQuery # pylint: disable=import-error

dustmaps_cls = SFDQuery

Expand Down

0 comments on commit 70c05f0

Please sign in to comment.