From 5aef9e81fbee03104c9cb0ab5d16d1094795e6ce Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 26 Mar 2022 06:39:55 +0100 Subject: Merging upstream version 2.4.12. Signed-off-by: Daniel Baumann --- .gitignore | 3 --- .pre-commit-config.yaml | 6 +++--- identify/extensions.py | 2 +- setup.cfg | 2 +- 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 -- cgit v1.2.3