summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-08-12 11:58:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-08-12 11:58:00 +0000
commit4c55edb24489eebdc1e10cbfe49ebae0a43b8908 (patch)
tree5d132d74c201dc10743597d6e5c54a35c2a012a1
parentAdding upstream version 2.2.11. (diff)
downloadidentify-4c55edb24489eebdc1e10cbfe49ebae0a43b8908.tar.xz
identify-4c55edb24489eebdc1e10cbfe49ebae0a43b8908.zip
Adding upstream version 2.2.13.upstream/2.2.13
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--.pre-commit-config.yaml4
-rw-r--r--identify/extensions.py2
-rw-r--r--setup.cfg2
3 files changed, 5 insertions, 3 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 696fc44..19af216 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -25,7 +25,7 @@ repos:
hooks:
- id: autopep8
- repo: https://github.com/asottile/reorder_python_imports
- rev: v2.5.0
+ rev: v2.6.0
hooks:
- id: reorder-python-imports
args: [--py3-plus]
@@ -35,7 +35,7 @@ repos:
- id: add-trailing-comma
args: [--py36-plus]
- repo: https://github.com/asottile/pyupgrade
- rev: v2.20.0
+ rev: v2.23.1
hooks:
- id: pyupgrade
args: [--py36-plus]
diff --git a/identify/extensions.py b/identify/extensions.py
index a6b2039..3da6526 100644
--- a/identify/extensions.py
+++ b/identify/extensions.py
@@ -1,5 +1,6 @@
EXTENSIONS = {
'adoc': {'text', 'asciidoc'},
+ 'ai': {'binary', 'adobe-illustrator'},
'asciidoc': {'text', 'asciidoc'},
'apinotes': {'text', 'apinotes'},
'asar': {'binary', 'asar'},
@@ -93,6 +94,7 @@ EXTENSIONS = {
'key': {'text', 'pem'},
'kml': {'text', 'kml', 'xml'},
'kt': {'text', 'kotlin'},
+ 'kts': {'text', 'kotlin'},
'lean': {'text', 'lean'},
'lektorproject': {'text', 'ini', 'lektorproject'},
'less': {'text', 'less'},
diff --git a/setup.cfg b/setup.cfg
index b8f49d9..3d9c651 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = identify
-version = 2.2.11
+version = 2.2.13
description = File identification library for Python
long_description = file: README.md
long_description_content_type = text/markdown