We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We have the config.template as both a path or tuple(package_name, resource_name)
config.template
path
tuple(package_name, resource_name)
The loading is done here
towncrier/src/towncrier/_settings/load.py
Lines 187 to 203 in 68a7a3b
And then the actual path is resovled here
towncrier/src/towncrier/build.py
Lines 167 to 172 in 68a7a3b
I think that is best to resolve the full path when the configuration is loades so that config.template is always a text path.
also see the converstation from #633 and see why the test pass when we don't add the special exception for a tuple.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We have the
config.template
as both apath
ortuple(package_name, resource_name)
The loading is done here
towncrier/src/towncrier/_settings/load.py
Lines 187 to 203 in 68a7a3b
And then the actual path is resovled here
towncrier/src/towncrier/build.py
Lines 167 to 172 in 68a7a3b
I think that is best to resolve the full path when the configuration is loades so that
config.template
is always a text path.also see the converstation from #633 and see why the test pass when we don't add the special exception for a tuple.
The text was updated successfully, but these errors were encountered: