Skip to content

Commit 54e7abf

Browse files
committed
Add command and environment to profile import time
1 parent fb85276 commit 54e7abf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ check = [
7272
"mypy --explicit-package-bases tests"
7373
]
7474

75+
[tool.hatch.envs.profile.scripts]
76+
importtime = "python -X importtime -m shelloracle 2> {args}"
77+
7578
[tool.pytest.ini_options]
7679
pythonpath = "src"
7780
addopts = [

0 commit comments

Comments
 (0)