summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.pre-commit-config.yaml6
-rw-r--r--identify/extensions.py1
-rw-r--r--setup.cfg2
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