From f9410c4be76624315621f75bd6ea240a2780397c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Nov 2021 15:20:38 +0100 Subject: Adding upstream version 2.3.4. Signed-off-by: Daniel Baumann --- .pre-commit-config.yaml | 2 +- identify/extensions.py | 1 + setup.cfg | 2 +- 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 -- cgit v1.2.3