diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2023-12-10 09:54:14 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2023-12-10 09:54:14 +0000 |
commit | 5d5b1199f2111ddcb4263df32095e4f3aeee50e6 (patch) | |
tree | d63186907368480fa8c40eb47572c6687664a220 | |
parent | Releasing debian version 2.5.30-1. (diff) | |
download | identify-5d5b1199f2111ddcb4263df32095e4f3aeee50e6.tar.xz identify-5d5b1199f2111ddcb4263df32095e4f3aeee50e6.zip |
Merging upstream version 2.5.31.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
-rw-r--r-- | .pre-commit-config.yaml | 10 | ||||
-rw-r--r-- | identify/extensions.py | 1 | ||||
-rw-r--r-- | setup.cfg | 2 |
3 files changed, 7 insertions, 6 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9107add..c3f3146 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -10,11 +10,11 @@ repos: - id: name-tests-test - id: requirements-txt-fixer - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.4.0 + rev: v2.5.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/asottile/reorder-python-imports - rev: v3.11.0 + rev: v3.12.0 hooks: - id: reorder-python-imports args: [--py38-plus, --add-import, 'from __future__ import annotations'] @@ -23,7 +23,7 @@ repos: hooks: - id: add-trailing-comma - repo: https://github.com/asottile/pyupgrade - rev: v3.13.0 + rev: v3.15.0 hooks: - id: pyupgrade args: [--py38-plus] @@ -37,6 +37,6 @@ repos: - id: flake8 exclude: ^identify/vendor/licenses\.py$ - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.5.1 + rev: v1.6.1 hooks: - id: mypy diff --git a/identify/extensions.py b/identify/extensions.py index 19db7d3..544af49 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -269,6 +269,7 @@ EXTENSIONS = { 'woff2': {'binary', 'woff2'}, 'wsgi': {'text', 'wsgi', 'python'}, 'xhtml': {'text', 'xml', 'html', 'xhtml'}, + 'xacro': {'text', 'xml', 'urdf', 'xacro'}, 'xml': {'text', 'xml'}, 'xq': {'text', 'xquery'}, 'xql': {'text', 'xquery'}, @@ -1,6 +1,6 @@ [metadata] name = identify -version = 2.5.30 +version = 2.5.31 description = File identification library for Python long_description = file: README.md long_description_content_type = text/markdown |