Skip to content

Commit 6a296c6

Browse files
committed
feat: Write Poetry warnings to standard error
1 parent 22c86bf commit 6a296c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/nox_poetry/poetry.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Poetry interface."""
2+
import sys
23
from enum import Enum
34
from pathlib import Path
45
from typing import Any
@@ -100,6 +101,7 @@ def export(self) -> str:
100101
def _stripwarnings(lines: Iterable[str]) -> Iterator[str]:
101102
for line in lines:
102103
if line.startswith("Warning:"):
104+
print(line, file=sys.stderr)
103105
continue
104106
yield line
105107

0 commit comments

Comments
 (0)