summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-11-07 14:20:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-11-07 14:20:41 +0000
commit1ce4e0502e7f51a7ac91b30fca62aefab33e6854 (patch)
treecac206832df8b925a795215e5e6cc3d5919afc68
parentReleasing debian version 2.3.3-1. (diff)
downloadidentify-1ce4e0502e7f51a7ac91b30fca62aefab33e6854.tar.xz
identify-1ce4e0502e7f51a7ac91b30fca62aefab33e6854.zip
Merging upstream version 2.3.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--.pre-commit-config.yaml2
-rw-r--r--identify/extensions.py1
-rw-r--r--setup.cfg2
3 files changed, 3 insertions, 2 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index f5881ae..10b0f4d 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -11,7 +11,7 @@ repos:
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/asottile/setup-cfg-fmt
- rev: v1.18.0
+ rev: v1.19.0
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/PyCQA/flake8
diff --git a/identify/extensions.py b/identify/extensions.py
index 17f86a7..412fb3c 100644
--- a/identify/extensions.py
+++ b/identify/extensions.py
@@ -154,6 +154,7 @@ EXTENSIONS = {
'r': {'text', 'r'},
'rake': {'text', 'ruby'},
'rb': {'text', 'ruby'},
+ 'rng': {'text', 'xml', 'relax-ng'},
'rs': {'text', 'rust'},
'rst': {'text', 'rst'},
's': {'text', 'asm'},
diff --git a/setup.cfg b/setup.cfg
index dfd0811..5fe1d27 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = identify
-version = 2.3.3
+version = 2.3.4
description = File identification library for Python
long_description = file: README.md
long_description_content_type = text/markdown