From c4e646ea4cfa2b17595b6381a9f4e2f8bbcb0956 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 25 Feb 2025 06:11:12 +0100 Subject: [PATCH] Merging upstream version 2.6.8. Signed-off-by: Daniel Baumann --- .pre-commit-config.yaml | 4 ++-- identify/extensions.py | 2 ++ setup.cfg | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e22b8aa..ebaf239 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,11 +32,11 @@ repos: hooks: - id: autopep8 - repo: https://github.com/PyCQA/flake8 - rev: 7.1.1 + rev: 7.1.2 hooks: - id: flake8 exclude: ^identify/vendor/licenses\.py$ - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.14.1 + rev: v1.15.0 hooks: - id: mypy diff --git a/identify/extensions.py b/identify/extensions.py index 8dc0e7b..c5d680a 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -225,6 +225,7 @@ EXTENSIONS = { 'rs': {'text', 'rust'}, 'rst': {'text', 'rst'}, 's': {'text', 'asm'}, + 'sas': {'text', 'sas'}, 'sass': {'text', 'sass'}, 'sbt': {'text', 'sbt', 'scala'}, 'sc': {'text', 'scala'}, @@ -285,6 +286,7 @@ EXTENSIONS = { 'wkt': {'text', 'wkt'}, 'woff': {'binary', 'woff'}, 'woff2': {'binary', 'woff2'}, + 'wsdl': {'text', 'xml', 'wsdl'}, 'wsgi': {'text', 'wsgi', 'python'}, 'xhtml': {'text', 'xml', 'html', 'xhtml'}, 'xacro': {'text', 'xml', 'urdf', 'xacro'}, diff --git a/setup.cfg b/setup.cfg index ed75de7..2791d3c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = identify -version = 2.6.7 +version = 2.6.8 description = File identification library for Python long_description = file: README.md long_description_content_type = text/markdown