Skip to content

Commit c8f715b

Browse files
committed
🐛 fix project name that has hyphen
1 parent 29e9343 commit c8f715b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/__init__.py.jj2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# flake8: noqa
2-
from {{name}}._version import __version__
3-
from {{name}}._version import __author__
2+
from {{name|replace('-', '_')}}._version import __version__
3+
from {{name|replace('-', '_')}}._version import __author__

0 commit comments

Comments
 (0)