summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-03-26 05:39:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-03-26 05:39:55 +0000
commit5aef9e81fbee03104c9cb0ab5d16d1094795e6ce (patch)
tree7923f0bf1ae96343d83668a73c09485af99cdbbd
parentReleasing debian version 2.4.11-1. (diff)
downloadidentify-5aef9e81fbee03104c9cb0ab5d16d1094795e6ce.tar.xz
identify-5aef9e81fbee03104c9cb0ab5d16d1094795e6ce.zip
Merging upstream version 2.4.12.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--.gitignore3
-rw-r--r--.pre-commit-config.yaml6
-rw-r--r--identify/extensions.py2
-rw-r--r--setup.cfg2
4 files changed, 5 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore
index df40daa..a15a8d1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,8 +1,5 @@
*.egg-info
*.py[co]
/.coverage
-/.pytest_cache
/.tox
-/coverage-html
/dist
-/venv
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index cb71927..fcb1cd1 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.7.1
+ rev: v3.0.1
hooks:
- id: reorder-python-imports
args: [--py37-plus, --add-import, 'from __future__ import annotations']
@@ -35,11 +35,11 @@ repos:
- id: add-trailing-comma
args: [--py36-plus]
- repo: https://github.com/asottile/pyupgrade
- rev: v2.31.0
+ rev: v2.31.1
hooks:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: v0.931
+ rev: v0.940
hooks:
- id: mypy
diff --git a/identify/extensions.py b/identify/extensions.py
index 9016e6d..1b1f7fa 100644
--- a/identify/extensions.py
+++ b/identify/extensions.py
@@ -114,7 +114,7 @@ EXTENSIONS = {
'liquid': {'text', 'liquid'},
'lr': {'text', 'lektor'},
'lua': {'text', 'lua'},
- 'm': {'text', 'c', 'objective-c'},
+ 'm': {'text', 'objective-c'},
'manifest': {'text', 'manifest'},
'map': {'text', 'map'},
'markdown': {'text', 'markdown'},
diff --git a/setup.cfg b/setup.cfg
index 8dfb766..57562d5 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = identify
-version = 2.4.11
+version = 2.4.12
description = File identification library for Python
long_description = file: README.md
long_description_content_type = text/markdown