summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.pre-commit-config.yaml6
-rw-r--r--identify/extensions.py1
-rw-r--r--setup.cfg2
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