summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-03-19 10:15:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-03-19 10:15:42 +0000
commit7fbbe08e951cdd019cec60748cac17263a8296b5 (patch)
tree12d92c1f36bf962c3ccfb377a5441851f2ef2d32
parentAdding upstream version 2.5.19. (diff)
downloadidentify-7fbbe08e951cdd019cec60748cac17263a8296b5.tar.xz
identify-7fbbe08e951cdd019cec60748cac17263a8296b5.zip
Adding upstream version 2.5.21.upstream/2.5.21
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-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