Skip to content

Commit 00e7531

Browse files
committed
fix: allow poe as task manager
Signed-off-by: Henry Schreiner <[email protected]>
1 parent a85c2dc commit 00e7531

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/sp_repo_review/checks/general.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ def check(root: Traversable, pyproject: dict[str, Any]) -> bool:
146146
return True
147147
case {"tox": object()}:
148148
return True
149+
case {"poe": object()}:
150+
return True
149151
case {"pixi": {"tasks": {}}}:
150152
return True
151153
case {"pixi": {"feature": feats}} if any(

tests/test_general.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ def test_py007(tmp_path: Path, runnerfile: str):
156156
"[tool.tox]",
157157
"[tool.pixi.tasks]",
158158
"[tool.pixi.feature.thing.tasks]",
159+
"[tool.poe]",
159160
],
160161
)
161162
def test_py007_pyproject_sections(tmp_path: Path, section: str):

0 commit comments

Comments
 (0)