summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2023-12-10 09:54:14 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2023-12-10 09:54:14 +0000
commit5d5b1199f2111ddcb4263df32095e4f3aeee50e6 (patch)
treed63186907368480fa8c40eb47572c6687664a220
parentReleasing debian version 2.5.30-1. (diff)
downloadidentify-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.yaml10
-rw-r--r--identify/extensions.py1
-rw-r--r--setup.cfg2
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'},
diff --git a/setup.cfg b/setup.cfg
index 5ea9196..b2aa427 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -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