From 037ae2bcece981437823cd3096010b7c88d662ef Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 16 Sep 2024 18:48:36 +0200 Subject: Merging upstream version 2.6.1. Signed-off-by: Daniel Baumann --- .pre-commit-config.yaml | 6 +++--- identify/extensions.py | 1 + setup.cfg | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e096a03..79ca02d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: hooks: - id: add-trailing-comma - repo: https://github.com/asottile/pyupgrade - rev: v3.16.0 + rev: v3.17.0 hooks: - id: pyupgrade args: [--py38-plus] @@ -32,11 +32,11 @@ repos: hooks: - id: autopep8 - repo: https://github.com/PyCQA/flake8 - rev: 7.1.0 + rev: 7.1.1 hooks: - id: flake8 exclude: ^identify/vendor/licenses\.py$ - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.10.1 + rev: v1.11.2 hooks: - id: mypy diff --git a/identify/extensions.py b/identify/extensions.py index cc9d95c..cc3a182 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -6,6 +6,7 @@ EXTENSIONS = { 'asciidoc': {'text', 'asciidoc'}, 'apinotes': {'text', 'apinotes'}, 'asar': {'binary', 'asar'}, + 'astro': {'text', 'astro'}, 'avif': {'binary', 'image', 'avif'}, 'avsc': {'text', 'avro-schema'}, 'bash': {'text', 'shell', 'bash'}, diff --git a/setup.cfg b/setup.cfg index 05f502b..df9b810 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = identify -version = 2.6.0 +version = 2.6.1 description = File identification library for Python long_description = file: README.md long_description_content_type = text/markdown -- cgit v1.2.3