From b14babeeec52a85ca91331841e7351a525bbf305 Mon Sep 17 00:00:00 2001 From: Roberto Polli Date: Tue, 4 Oct 2022 17:06:57 +0200 Subject: [PATCH] Add .yamlld and .jsonld extensions --- identify/extensions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/identify/extensions.py b/identify/extensions.py index d03676e..2cab823 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -106,6 +106,7 @@ 'jpg': {'binary', 'image', 'jpeg'}, 'js': {'text', 'javascript'}, 'json': {'text', 'json'}, + 'jsonld': {'text', 'json', 'jsonld'}, 'jsonnet': {'text', 'jsonnet'}, 'json5': {'text', 'json5'}, 'jsx': {'text', 'jsx'}, @@ -251,6 +252,7 @@ 'xsd': {'text', 'xml', 'xsd'}, 'xsl': {'text', 'xml', 'xsl'}, 'yaml': {'text', 'yaml'}, + 'yamlld': {'text', 'yaml', 'yamlld'}, 'yang': {'text', 'yang'}, 'yin': {'text', 'xml', 'yin'}, 'yml': {'text', 'yaml'},