summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-07-21 04:42:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-07-21 04:42:33 +0000
commit785666e27328cde6f0d3b953fd0eaea103e835f2 (patch)
treee24e8fbed0b6affc81f55d75cf1b8c8bc72311d5
parentReleasing debian version 2.5.1-1. (diff)
downloadidentify-785666e27328cde6f0d3b953fd0eaea103e835f2.tar.xz
identify-785666e27328cde6f0d3b953fd0eaea103e835f2.zip
Merging upstream version 2.5.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--.pre-commit-config.yaml8
-rw-r--r--identify/extensions.py1
-rw-r--r--setup.cfg2
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'},
diff --git a/setup.cfg b/setup.cfg
index e017aaa..0349287 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -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