diff options
-rw-r--r-- | .pre-commit-config.yaml | 2 | ||||
-rw-r--r-- | identify/extensions.py | 2 | ||||
-rw-r--r-- | 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'}, @@ -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 |