From acaa3e97e33bb815a95f13f4d3178245dc0368c0 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 10 Oct 2022 13:26:22 +0200 Subject: Adding upstream version 2.5.6. Signed-off-by: Daniel Baumann --- .pre-commit-config.yaml | 6 +++--- identify/extensions.py | 1 + setup.cfg | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f63fcb2..a0aa086 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,17 +14,17 @@ repos: hooks: - id: setup-cfg-fmt - repo: https://github.com/asottile/reorder_python_imports - rev: v3.8.2 + rev: v3.8.3 hooks: - id: reorder-python-imports args: [--py37-plus, --add-import, 'from __future__ import annotations'] - repo: https://github.com/asottile/add-trailing-comma - rev: v2.2.3 + rev: v2.3.0 hooks: - id: add-trailing-comma args: [--py36-plus] - repo: https://github.com/asottile/pyupgrade - rev: v2.37.3 + rev: v2.38.2 hooks: - id: pyupgrade args: [--py37-plus] diff --git a/identify/extensions.py b/identify/extensions.py index 3d2da78..d03676e 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -177,6 +177,7 @@ EXTENSIONS = { 'r': {'text', 'r'}, 'rake': {'text', 'ruby'}, 'rb': {'text', 'ruby'}, + 'resx': {'text', 'resx', 'xml'}, 'rng': {'text', 'xml', 'relax-ng'}, 'rs': {'text', 'rust'}, 'rst': {'text', 'rst'}, diff --git a/setup.cfg b/setup.cfg index 8afa325..694d14f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = identify -version = 2.5.5 +version = 2.5.6 description = File identification library for Python long_description = file: README.md long_description_content_type = text/markdown -- cgit v1.2.3