Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1ac79fe

Browse files
committed
fix(init): poetry detection
1 parent 5b05a96 commit 1ac79fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎commitizen/commands/init.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def is_python_poetry(self) -> bool:
3636
if not self.has_pyproject:
3737
return False
3838
with open("pyproject.toml") as f:
39-
return "tool.poetry.version" in f.read()
39+
return "[tool.poetry]" in f.read()
4040

4141
@property
4242
def is_python(self) -> bool:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /