Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b94ca99

Browse files
authored
Fix blurb import in the runpy interface (#22)
2 parents 0cc1c1a + 3529a9e commit b94ca99

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/blurb/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
"""Run blurb using `python3 blurb/`."""
2-
import blurb
1+
"""Run blurb using ``python3 -m blurb``."""
2+
from blurb import blurb
33

44

55
if __name__ == '__main__':

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ commands =
1919
{posargs}
2020
blurb test
2121
blurb help
22+
{envpython} -I -m blurb test
23+
{envpython} -I -m blurb help

0 commit comments

Comments
 (0)