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
It's a very minor issue but an invalid version config field causes error messages that (imo) could be more specific/informative. If it would be welcome, I would happily add a PR to have an error suggest the correct format.
Missing variable name
As an example this configuration
version = literal: myproj/__init__.py
produces this error:
ValueError: not enough values to unpack (expected 3, got 2)
Now (as of commit bf5d9cf) both of these errors will produce: ScrivException: Couldn't read 'version' configuration: Missing value name: 'literal: myproj/__init__.py'. I also added more detail to other kinds of failures reading literals.
It's a very minor issue but an invalid
version
config field causes error messages that (imo) could be more specific/informative. If it would be welcome, I would happily add a PR to have an error suggest the correct format.Missing variable name
As an example this configuration
produces this error:
File available, but missing variable name
For example this configuration:
leads to this error:
The text was updated successfully, but these errors were encountered: