You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The file exists and has a valid definition for the version variable. The one thing "special" in my case is that I have the variable typed. Below is an abbreviated version of my init.py file:
Loving scriv... thanks a lot.
In my case scriv errors out with the following exception when issuing
scriv collect
:scriv.exceptions.ScrivException: Couldn't find literal: 'literal: src/fedinesia/__init__.py: __version__'
The file exists and has a valid definition for the version variable. The one thing "special" in my case is that I have the variable typed. Below is an abbreviated version of my init.py file:
If I remove the typing and write the version definition like
__version__ = "2.4.0"
collect works as expected.Is it possible to make scriv work with typed variables to determine the version?
The text was updated successfully, but these errors were encountered: