We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29ce60a commit 8fbee06Copy full SHA for 8fbee06
flopy4/__init__.py
@@ -1,3 +1,9 @@
1
+import json
2
+from importlib.metadata import Distribution
3
+
4
from beartype.claw import beartype_this_package
5
-beartype_this_package()
6
+_PKG_URL = Distribution.from_name("flopy4").read_text("direct_url.json")
7
+_EDITABLE = json.loads(_PKG_URL).get("dir_info", {}).get("editable", False)
8
+if _EDITABLE:
9
+ beartype_this_package()
0 commit comments