# HG changeset patch # User Franz Glasner # Date 1692352239 -7200 # Node ID 88bfa76463a66e0585d8c9b4cd1f6def28b60fcb # Parent 75d37575472b9670c9bb2a84dbaa1b5546a8825f FIX: Make all configurations on conf10.* semantically identical. BUGS: INI and lists diff -r 75d37575472b -r 88bfa76463a6 docs/conf.py --- a/docs/conf.py Fri Aug 18 00:29:55 2023 +0200 +++ b/docs/conf.py Fri Aug 18 11:50:39 2023 +0200 @@ -80,6 +80,9 @@ # This pattern also affects html_static_path and html_extra_path . exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] +# `default' is similar to python3 +highlight_language = "default" + # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' diff -r 75d37575472b -r 88bfa76463a6 tests/data/conf10.ini --- a/tests/data/conf10.ini Fri Aug 18 00:29:55 2023 +0200 +++ b/tests/data/conf10.ini Fri Aug 18 11:50:39 2023 +0200 @@ -14,3 +14,5 @@ key4 = get this as `tree1.tree2.key4' key5 = :bool:TRUE key6 = off + +[config.tree1.tree2.key9] diff -r 75d37575472b -r 88bfa76463a6 tests/data/conf10.json --- a/tests/data/conf10.json Fri Aug 18 00:29:55 2023 +0200 +++ b/tests/data/conf10.json Fri Aug 18 11:50:39 2023 +0200 @@ -5,7 +5,10 @@ "tree2": { "key4": "get this as `tree1.tree2.key4'", "key5": true, - "key6": "off" + "key6": "off", + "key7": [], + "key8": [ "val1", "val2", "{{key1}}" ], + "key9": {} } } } diff -r 75d37575472b -r 88bfa76463a6 tests/data/conf10.toml --- a/tests/data/conf10.toml Fri Aug 18 00:29:55 2023 +0200 +++ b/tests/data/conf10.toml Fri Aug 18 11:50:39 2023 +0200 @@ -10,3 +10,11 @@ key4 = "get this as `tree1.tree2.key4'" key5 = true key6 = "off" +key7 = [] +key8 = [ + "val1", + "val2", + "{{key1}}" +] + +[tree1.tree2.key9] diff -r 75d37575472b -r 88bfa76463a6 tests/data/conf10.yml --- a/tests/data/conf10.yml Fri Aug 18 00:29:55 2023 +0200 +++ b/tests/data/conf10.yml Fri Aug 18 11:50:39 2023 +0200 @@ -11,3 +11,9 @@ key4: get this as `tree1.tree2.key4' key5: true key6: 'off' + key7: [] + key8: + - val1 + - val2 + - '{{key1}}' + key9: {}