summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-03-19 10:15:46 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-03-19 10:15:46 +0000
commit5697b461d536250563afd035fee796519d272bcd (patch)
tree216312e71ae5bff8ae71fed0c0a588e509dc2a5c
parentReleasing debian version 2.5.19-1. (diff)
downloadidentify-5697b461d536250563afd035fee796519d272bcd.tar.xz
identify-5697b461d536250563afd035fee796519d272bcd.zip
Merging upstream version 2.5.21.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--.pre-commit-config.yaml2
-rw-r--r--identify/extensions.py2
-rw-r--r--setup.cfg2
3 files changed, 4 insertions, 2 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index feb04ae..481b58f 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -38,6 +38,6 @@ repos:
- id: flake8
exclude: ^identify/vendor/licenses\.py$
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: v1.0.1
+ rev: v1.1.1
hooks:
- id: mypy
diff --git a/identify/extensions.py b/identify/extensions.py
index dae7d2d..71bd65f 100644
--- a/identify/extensions.py
+++ b/identify/extensions.py
@@ -10,6 +10,7 @@ EXTENSIONS = {
'bash': {'text', 'shell', 'bash'},
'bat': {'text', 'batch'},
'bats': {'text', 'shell', 'bash', 'bats'},
+ 'beancount': {'text', 'beancount'},
'bib': {'text', 'bib'},
'bmp': {'binary', 'image', 'bitmap'},
'bz2': {'binary', 'bzip2'},
@@ -223,6 +224,7 @@ EXTENSIONS = {
'tac': {'text', 'twisted', 'python'},
'tar': {'binary', 'tar'},
'tex': {'text', 'tex'},
+ 'textproto': {'text', 'textproto'},
'tf': {'text', 'terraform'},
'tfvars': {'text', 'terraform'},
'tgz': {'binary', 'gzip'},
diff --git a/setup.cfg b/setup.cfg
index 600a1dc..63c810c 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = identify
-version = 2.5.19
+version = 2.5.21
description = File identification library for Python
long_description = file: README.md
long_description_content_type = text/markdown