diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-07-21 04:42:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-07-21 04:42:23 +0000 |
commit | 5502cd59120bad1160db3cee76692e7f000da7dc (patch) | |
tree | 8b957d4bfc4b9994d41da901648dca8c5314606d | |
parent | Adding upstream version 2.5.1. (diff) | |
download | identify-5502cd59120bad1160db3cee76692e7f000da7dc.tar.xz identify-5502cd59120bad1160db3cee76692e7f000da7dc.zip |
Adding upstream version 2.5.2.upstream/2.5.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | .pre-commit-config.yaml | 8 | ||||
-rw-r--r-- | identify/extensions.py | 1 | ||||
-rw-r--r-- | setup.cfg | 2 |
3 files changed, 6 insertions, 5 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1807f3c..5656ffb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.2.0 + rev: v4.3.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -14,7 +14,7 @@ repos: hooks: - id: setup-cfg-fmt - repo: https://github.com/asottile/reorder_python_imports - rev: v3.1.0 + rev: v3.8.1 hooks: - id: reorder-python-imports args: [--py37-plus, --add-import, 'from __future__ import annotations'] @@ -24,7 +24,7 @@ repos: - id: add-trailing-comma args: [--py36-plus] - repo: https://github.com/asottile/pyupgrade - rev: v2.32.1 + rev: v2.37.1 hooks: - id: pyupgrade args: [--py37-plus] @@ -38,6 +38,6 @@ repos: - id: flake8 exclude: ^identify/vendor/licenses\.py$ - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.950 + rev: v0.961 hooks: - id: mypy diff --git a/identify/extensions.py b/identify/extensions.py index f5ad460..c665553 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -52,6 +52,7 @@ EXTENSIONS = { 'eyaml': {'text', 'yaml'}, 'feature': {'text', 'gherkin'}, 'fish': {'text', 'fish'}, + 'fits': {'binary', 'fits'}, 'gd': {'text', 'gdscript'}, 'gemspec': {'text', 'ruby'}, 'geojson': {'text', 'geojson', 'json'}, @@ -1,6 +1,6 @@ [metadata] name = identify -version = 2.5.1 +version = 2.5.2 description = File identification library for Python long_description = file: README.md long_description_content_type = text/markdown |