summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-11-07 14:20:38 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-11-07 14:20:38 +0000
commitf9410c4be76624315621f75bd6ea240a2780397c (patch)
treec1c6eba7124de50f40b3f1916a7873a227166fc7
parentAdding upstream version 2.3.3. (diff)
downloadidentify-f9410c4be76624315621f75bd6ea240a2780397c.tar.xz
identify-f9410c4be76624315621f75bd6ea240a2780397c.zip
Adding upstream version 2.3.4.upstream/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