1
0
Fork 0

Merging upstream version 2.5.11.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-12 22:05:33 +01:00
parent 28198bc144
commit 1860fcb092
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
3 changed files with 8 additions and 6 deletions

View file

@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
@ -19,12 +19,12 @@ repos:
- id: reorder-python-imports
args: [--py37-plus, --add-import, 'from __future__ import annotations']
- repo: https://github.com/asottile/add-trailing-comma
rev: v2.3.0
rev: v2.4.0
hooks:
- id: add-trailing-comma
args: [--py36-plus]
- repo: https://github.com/asottile/pyupgrade
rev: v3.2.2
rev: v3.3.1
hooks:
- id: pyupgrade
args: [--py37-plus]
@ -33,11 +33,11 @@ repos:
hooks:
- id: autopep8
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
rev: 6.0.0
hooks:
- id: flake8
exclude: ^identify/vendor/licenses\.py$
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.990
rev: v0.991
hooks:
- id: mypy

View file

@ -127,6 +127,7 @@ EXTENSIONS = {
'lr': {'text', 'lektor'},
'lua': {'text', 'lua'},
'm': {'text', 'objective-c'},
'make': {'text', 'makefile'},
'manifest': {'text', 'manifest'},
'map': {'text', 'map'},
'markdown': {'text', 'markdown'},
@ -267,6 +268,7 @@ EXTENSIONS = {
}
EXTENSIONS_NEED_BINARY_CHECK = {
'plist': {'plist'},
'ppm': {'image', 'ppm'},
}
NAMES = {

View file

@ -1,6 +1,6 @@
[metadata]
name = identify
version = 2.5.9
version = 2.5.11
description = File identification library for Python
long_description = file: README.md
long_description_content_type = text/markdown