From 489d50b72ccb894b7570a7198c3ebb8cb1797819 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 12 Aug 2021 13:58:03 +0200 Subject: Merging upstream version 2.2.13. Signed-off-by: Daniel Baumann --- .pre-commit-config.yaml | 4 ++-- identify/extensions.py | 2 ++ setup.cfg | 2 +- 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 -- cgit v1.2.3