From aecdf87a811fe25bb8b5bcb5c84b4baae881f88e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 24 May 2025 07:11:06 +0200 Subject: [PATCH] Merging upstream version 2.6.12. Signed-off-by: Daniel Baumann --- identify/extensions.py | 13 +++++++++---- setup.cfg | 2 +- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/identify/extensions.py b/identify/extensions.py index 51f62b8..d34dfe7 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -43,7 +43,7 @@ EXTENSIONS = { 'cr': {'text', 'crystal'}, 'crt': {'text', 'pem'}, 'cs': {'text', 'c#'}, - 'csproj': {'text', 'xml', 'csproj'}, + 'csproj': {'text', 'xml', 'csproj', 'msbuild'}, 'csh': {'text', 'shell', 'csh'}, 'cson': {'text', 'cson'}, 'css': {'text', 'css'}, @@ -82,6 +82,7 @@ EXTENSIONS = { 'fish': {'text', 'fish'}, 'fits': {'binary', 'fits'}, 'fs': {'text', 'f#'}, + 'fsproj': {'text', 'xml', 'fsproj', 'msbuild'}, 'fsx': {'text', 'f#', 'f#script'}, 'gd': {'text', 'gdscript'}, 'gemspec': {'text', 'ruby'}, @@ -201,6 +202,7 @@ EXTENSIONS = { 'pp': {'text', 'puppet'}, 'prisma': {'text', 'prisma'}, 'properties': {'text', 'java-properties'}, + 'props': {'text', 'xml', 'msbuild'}, 'proto': {'text', 'proto'}, 'ps1': {'text', 'powershell'}, 'psd1': {'text', 'powershell'}, @@ -212,7 +214,7 @@ EXTENSIONS = { 'pxi': {'text', 'cython'}, 'py': {'text', 'python'}, 'pyi': {'text', 'pyi'}, - 'pyproj': {'text', 'xml', 'pyproj'}, + 'pyproj': {'text', 'xml', 'pyproj', 'msbuild'}, 'pyt': {'text', 'python'}, 'pyx': {'text', 'cython'}, 'pyz': {'binary', 'pyz'}, @@ -252,6 +254,7 @@ EXTENSIONS = { 'swiftdeps': {'text', 'swiftdeps'}, 'tac': {'text', 'twisted', 'python'}, 'tar': {'binary', 'tar'}, + 'targets': {'text', 'xml', 'msbuild'}, 'templ': {'text', 'templ'}, 'tex': {'text', 'tex'}, 'textproto': {'text', 'textproto'}, @@ -272,8 +275,8 @@ EXTENSIONS = { 'urdf': {'text', 'xml', 'urdf'}, 'v': {'text', 'verilog'}, 'vb': {'text', 'vb'}, - 'vbproj': {'text', 'xml', 'vbproj'}, - 'vcxproj': {'text', 'xml', 'vcxproj'}, + 'vbproj': {'text', 'xml', 'vbproj', 'msbuild'}, + 'vcxproj': {'text', 'xml', 'vcxproj', 'msbuild'}, 'vdx': {'text', 'vdx'}, 'vh': {'text', 'verilog'}, 'vhd': {'text', 'vhdl'}, @@ -301,6 +304,7 @@ EXTENSIONS = { 'xqy': {'text', 'xquery'}, 'xsd': {'text', 'xml', 'xsd'}, 'xsl': {'text', 'xml', 'xsl'}, + 'xslt': {'text', 'xml', 'xsl'}, 'yaml': {'text', 'yaml'}, 'yamlld': {'text', 'yaml', 'yamlld'}, 'yang': {'text', 'yang'}, @@ -352,6 +356,7 @@ NAMES = { '.pypirc': EXTENSIONS['ini'] | {'pypirc'}, '.rstcheck.cfg': EXTENSIONS['ini'], '.salt-lint': EXTENSIONS['yaml'] | {'salt-lint'}, + '.sqlfluff': EXTENSIONS['ini'], '.yamllint': EXTENSIONS['yaml'] | {'yamllint'}, '.zlogin': EXTENSIONS['zsh'], '.zlogout': EXTENSIONS['zsh'], diff --git a/setup.cfg b/setup.cfg index 1f338f8..067ad92 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = identify -version = 2.6.10 +version = 2.6.12 description = File identification library for Python long_description = file: README.md long_description_content_type = text/markdown