Skip to content

Commit

Permalink
fix core import contract
Browse files Browse the repository at this point in the history
  • Loading branch information
s-m-e committed Feb 23, 2024
1 parent 2b5752c commit 9793a8d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@ name = "hapsira.core does not import astropy.units"
type = "forbidden"
source_modules = ["hapsira.core"]
forbidden_modules = ["astropy.units"]
ignore_imports = [
"hapsira.core.earth.atmosphere.coesa76 -> astropy.io.ascii",
"hapsira.core.earth.atmosphere.coesa76 -> astropy.utils.data"
]

[tool.pytest.ini_options]
norecursedirs = [".git", ".tox", "dist", "build", ".venv"]
Expand Down

0 comments on commit 9793a8d

Please sign in to comment.