Closed dlax closed 1 month ago
LGTM
Are there any cases where relative paths are allowed? It is not very clear to me.
As long as you pass a file path value (or the path as a 'source' argument), relative paths in include directives are allowed because we'll compute the absolute path to included file relatively to the source. See tests/test_conf.py::test_parser_includes()
.
We partly remove the previous limitation when parsing a string literal containing include directives. Now directives referencing absolute path, i.e. not relative to the including configuration file, are allowed.