From 3174199b4db1d914ce055d08332a5e2af1aa4623 Mon Sep 17 00:00:00 2001 From: Mike Date: Fri, 22 Aug 2025 12:24:57 +0200 Subject: [PATCH] fix: add robot filetype and sort extensions --- identify/extensions.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/identify/extensions.py b/identify/extensions.py index 7d17d16..2ec65f2 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -3,9 +3,9 @@ 'adoc': {'text', 'asciidoc'}, 'ai': {'binary', 'adobe-illustrator'}, 'aj': {'text', 'aspectj'}, - 'asciidoc': {'text', 'asciidoc'}, 'apinotes': {'text', 'apinotes'}, 'asar': {'binary', 'asar'}, + 'asciidoc': {'text', 'asciidoc'}, 'asm': {'text', 'asm'}, 'astro': {'text', 'astro'}, 'avif': {'binary', 'image', 'avif'}, @@ -43,9 +43,9 @@ 'cr': {'text', 'crystal'}, 'crt': {'text', 'pem'}, 'cs': {'text', 'c#'}, - 'csproj': {'text', 'xml', 'csproj', 'msbuild'}, 'csh': {'text', 'shell', 'csh'}, 'cson': {'text', 'cson'}, + 'csproj': {'text', 'xml', 'csproj', 'msbuild'}, 'css': {'text', 'css'}, 'csv': {'text', 'csv'}, 'csx': {'text', 'c#', 'c#script'}, @@ -93,8 +93,8 @@ 'go': {'text', 'go'}, 'gotmpl': {'text', 'gotmpl'}, 'gpx': {'text', 'gpx', 'xml'}, - 'graphql': {'text', 'graphql'}, 'gradle': {'text', 'groovy'}, + 'graphql': {'text', 'graphql'}, 'groovy': {'text', 'groovy'}, 'gyb': {'text', 'gyb'}, 'gyp': {'text', 'gyp', 'python'}, @@ -120,8 +120,8 @@ 'inl': {'text', 'inl', 'c++'}, 'ino': {'text', 'ino', 'c++'}, 'inx': {'text', 'xml', 'inx'}, - 'ipynb': {'text', 'jupyter', 'json'}, 'ipp': {'text', 'c++'}, + 'ipynb': {'text', 'jupyter', 'json'}, 'ixx': {'text', 'c++'}, 'j2': {'text', 'jinja'}, 'jade': {'text', 'jade'}, @@ -136,9 +136,9 @@ 'jpg': {'binary', 'image', 'jpeg'}, 'js': {'text', 'javascript'}, 'json': {'text', 'json'}, + 'json5': {'text', 'json5'}, 'jsonld': {'text', 'json', 'jsonld'}, 'jsonnet': {'text', 'jsonnet'}, - 'json5': {'text', 'json5'}, 'jsx': {'text', 'jsx'}, 'key': {'text', 'pem'}, 'kml': {'text', 'kml', 'xml'}, @@ -180,8 +180,8 @@ 'myst': {'text', 'myst'}, 'ngdoc': {'text', 'ngdoc'}, 'nim': {'text', 'nim'}, - 'nims': {'text', 'nim'}, 'nimble': {'text', 'nimble'}, + 'nims': {'text', 'nim'}, 'nix': {'text', 'nix'}, 'njk': {'text', 'nunjucks'}, 'otf': {'binary', 'otf'}, @@ -226,6 +226,7 @@ 'rb': {'text', 'ruby'}, 'resx': {'text', 'resx', 'xml'}, 'rng': {'text', 'xml', 'relax-ng'}, + 'robot': {'text', 'robot'}, 'rs': {'text', 'rust'}, 'rst': {'text', 'rst'}, 's': {'text', 'asm'}, @@ -294,9 +295,9 @@ 'woff2': {'binary', 'woff2'}, 'wsdl': {'text', 'xml', 'wsdl'}, 'wsgi': {'text', 'wsgi', 'python'}, - 'xhtml': {'text', 'xml', 'html', 'xhtml'}, 'xacro': {'text', 'xml', 'urdf', 'xacro'}, 'xctestplan': {'text', 'json'}, + 'xhtml': {'text', 'xml', 'html', 'xhtml'}, 'xml': {'text', 'xml'}, 'xq': {'text', 'xquery'}, 'xql': {'text', 'xquery'},