From 5697b461d536250563afd035fee796519d272bcd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 19 Mar 2023 11:15:46 +0100 Subject: Merging upstream version 2.5.21. Signed-off-by: Daniel Baumann --- .pre-commit-config.yaml | 2 +- identify/extensions.py | 2 ++ setup.cfg | 2 +- 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 -- cgit v1.2.3